1

I am getting multiple Youtube URL from Json through this link!
First Thing is that when i play one url VideoView . I am getting ## Sorry ! this video cannot played##. I have searched for this where RTSP url support VideoView.

Now How I'll get RTSP Url. & How to Play Multiple Videos? My VideoView Code Is:-

VideoView videoView = (VideoView) findViewById(R.id.VideoView);
Button youtube=(Button)findViewById(R.id.button1);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(videoView);

Uri video = Uri.parse("http://m.youtube.com/details?v=LKLHoNy5xpE");
videoView.setMediaController(mediaController);
videoView.setVideoURI(video);
videoView.start();
mpromonet
  • 11,326
  • 43
  • 62
  • 91
Deepanker Chaudhary
  • 1,694
  • 3
  • 15
  • 35
  • > you can try this http://code.google.com/p/android-youtube-player/ > or this http://stackoverflow.com/questions/12832379/couldnt-open-file-on-client-side-trying-server-side-error-in-android – Ashwani Tyagi Oct 11 '12 at 09:14

0 Answers0