Using the Youtube API to search for videos



How to use the Youtube Data API V3 in Javascript to search for videos.
Github repository: https://github.com/FriesFlorian/ViralVideos
NOTE: A lot of people are getting the error “Cannot read property ‘search’ of undefined”, it’s because you have to run your program in a webserver (apache or nginx for exemple), the YouTube API won’t load otherwise

Follow me on Twitter: http://twitter.com/FriesFlorian
Read my blog (electronics and development): http://florianfries.me/

source

Reply


Build A Site Info