1

In my android app, i want to stream video from URL. For that i am using VideoView control. But it displays starts playing video after loading whole video. I want to perform async video streaming for that. Is async streaming possible with VideoView ? I want to display ProgressBar until video is loaded. Please help me to solve this problem.

Thank you.

Here is my code :

        video_view_ = (VideoView) findViewById(R.id.video_view);
        video_view_.setVideoURI(Uri.parse(path));
        video_view_.setMediaController(new MediaController(this));
        video_view_.requestFocus();
        video_view_.start();
Zankhna
  • 4,570
  • 9
  • 62
  • 103

0 Answers0