I am Developing an application which consists of video-view,Here is my problem
- when I have loaded normal url is not working,The URL of Youtube
- How to Convert the above URL to RTSP?
- the link which i have used http://www.youtube.com/watch?v=8mIOkkkA2jA
Code which i have tried:
VideoView videoView = (VideoView) findViewById(R.id.VideoView);
MediaController mediaController = new MediaController(this);
mediaController.setAnchorView(videoView); Uri video = Uri.parse("youtube.com/watch?v=8mIOkkkA2jA";);
videoView.setMediaController(mediaController);
videoView.setVideoURI(video);
videoView.start();
Please guys can u explain me how to achieve this?
Thanks in advance!!!!!!
Note:Working only android mobile(Not in Tablet)