Youtube RTSP link

I want to add youtube video in my android player.

“”" First you will need your video id from Youtube, for example : https://www.youtube.com/watch?v=Ndpryp2OlUQ, the Ndpryp2OlUQ part of this url is video id.
Then you’d have to go here http://gdata.youtube.com/feeds/api/videos/{your video-id} for the example above http://gdata.youtube.com/feeds/api/videos/Ndpryp2OlUQ
This will open an XML file for you, search for “rtsp” and you fill find full link that you need to put in local video module. “”""

I have made them but not work.What can I do ?

I have made second option

Hi,

That method worked till April 2015, after that Google/YouTube changed their policy and RTSP links are no longer working. At the moment you can only download videos from YouTube (if you have permission to do so). Solution only workaround 1 will work, that’s why workaround 2 has strikethrough text.

thanks,
Peter