I’m making an iOS app that needs to load some youtube videos.
I was wondering if there is a simple way to get the direct link to a video so I can play the video directly instead of loading the normal youtube player page.
So if I have a link like:
http://www.youtube.com/watch?v=6tQGqlXX7Zs&feature=youtube_gdata
Can I get a direct link from that to the video?
In the link below, the
vparameter is the link idhttp://www.youtube.com/watch?v=36ADLojIQc0&feature=something&otherparameter=othervalue
So you’d have to simply get video id from the query string ignoring all the other parameters, then you’ll end up with something similar to this link below (just with a different id)
http://www.youtube.com/watch?v=36ADLojIQc0
I don’t know the location of any specific documentation for this