Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 528
Registered: ‎10-06-2009
My Device: 9800,BB Dev Alpha,z10 limited edition
My Carrier: Vodafone

Download video from youtube



Is there any way to download video from youtube,which is being played. I have tried to searh on net but unable to know the way to extract download link from youtube.

Rujuta Trivedi
Posts: 103
Registered: ‎12-31-2012
My Device: Blackberry 9810
My Carrier: Verizon

Re: Download video from youtube

These are some info...just to get you started.(Basically from how i had implemented Youtube streaming for BB7 from within one of my apps...)

Each youtube video has a unique video identifier (VIDEO_ID). For instance "WEeqHj4Nj2c"  in http://www.youtube.com/watch?v=WEeqHj4Nj2c

After getting the  VIDEO_ID in hand, u can make a request to  http://gdata.youtube.com/feeds/api/videos/  + VIDEO_ID which is a google data site for developers, from wherein you can extract/parse all information about the video.

The site also gives u links to view the video in various protocols apart from http (like rtsp) and in various formats like mp4.

That's  all i know... may be some of the senior mods around could help you out better.

_ Dishooom


Hope  it helps


Posts: 313
Registered: ‎05-31-2010
My Device: Alpha 10, Bold 9900, Storm 9530, Tour 9630, Curve 9320, Curve 8900
My Carrier: All

Re: Download video from youtube

You need use OAuth to get token and use youtube http API to get the video.


You can refer with this link to do the similar way by C++



Good good study, day day up