delphi fmx play video from a url in android [on hold]

  

MediaPlayer Object which can play video from local video
how can i play a video in delphi android project from a url
or stream it(without payment plugin)
i try use a flash/html5 player for play .flv and .mp4
in a browser but i need use native player with have control like play and volume

i need similar code for delphi
http://www.techotopia.com/index.php/An_Android_Studio_VideoView_and_MediaController_Tutorial

package com.ebookfrenzy.videoplayer;

import android.support.v7.app.ActionBarActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.VideoView;
import android.widget.MediaController;

public class VideoPlayerActivity extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_video_player);

final VideoView videoView = (VideoView)
findViewById(R.id.videoView1);

videoView.setVideoPath(
“http://www.ebookfrenzy.com/android_book/movie.mp4”);

MediaController mediaController = new
MediaController(this);
mediaController.setAnchorView(videoView);
videoView.setMediaController(mediaController);

videoView.start();
}

thank`s

Comments are closed.