Adding YouTube channel to android application with phonegap framework



It's been a while since i've actually posted anything on this blog. Anyway, i've been scouring the internet on ways to integrate a YouTube channel onto a Phone Gap project and i could find nothing other than tutorials on how to embed single videos. After many tests and fails, i've finally found out how i can integrate it, but the only negative about it is that the video can only be viewable via the devices native YouTube application or browser, not the application itself. Here is a list of notes I created during the trial and error testing -


- You-tube RSS feeds do not give our direct video link, only link to YouTube page
- You-tube RSS feeds aren't optimized with mobile phones (though when clicked on, they should lead to the mobile video page)
- Direct links to youtube videos are stored in cache and can be changed at any time. Its also against the policy.
- Possible solution is to IFRAME the YouTube channel
- Other solution is to show YouTube channel RSS feed with optimized width.
- RSS link currently gives choice to view video either browser or native YouTube application
- YouTube has released API for android, can only be used in JAVA not Phonegap

Now, if you are reading this post because you want to find out how to integrate a YouTube channel on a PhoneGap, you just simply get the RSS feed link of the specific YouTube channel and get it to show up on the android application by embedding it (there is various ways of doing this, Google it). 

RSS feed link to youtube channel:
http://www.youtube.com/rss/user/YOURCHANNELNAME/videos.rss

This entry was posted on Friday, 8 February 2013 and is filed under ,,,,,,,,. You can follow any responses to this entry through the RSS 2.0. Responses are currently closed.