I'm a beginner to flutter, someone please provide the best guide to use the native android player in the flutter.Advance Thanks
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/95ea834f-1c21-49f7-bb0c-8fb8ea8fffcb%40googlegroups.com.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
VideoView videoView = (VideoView) findViewById(R.id.video);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(videoView);
mediaController.setMediaPlayer(videoView);
Uri video = Uri.parse("rtsp://ss1c6.idc.mundu.tv:554/prf0/cid_29.sdp");
videoView.setMediaController(mediaController);
videoView.setVideoURI(video);
videoView.start();
}Read up on platform channels / writing plugins.
On Fri, 20 Sep 2019 at 11:04, Suriya SCT <sur...@solutionchamps.com> wrote:
I'm a beginner to flutter, someone please provide the best guide to use the native android player in the flutter.--Advance Thanks
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutt...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/0229db57-cb1b-4842-bd21-ddcfdf74f75b%40googlegroups.com.