YouTube JavaScript API

We would like to show YouTube videos on our 1in52.com website, and to maintain control over the organization of videos. This is research into the options that YouTube provides.

Our requirements are to list and organize the names of videos. One way is to use the Data API. My concern is that the network connections might be slow, and implementing a caching or async solution might be overkill. Another option is just to use the simple embedded player, and to organize and lazy-load the videos through JavaScript. That would mean creating a dictionary, so to speak, of video-code/video-information pairs. The con here is that we’re not leveraging YouTube as a CMS for video information storage. Using the Data API gives us the most control and allows us, down the road, to do other cool stuff like ratings .

Data API Getting Started Checklist

OAuth 2.0

API Key

Some of the YouTube API options that we considered include:

Player, Player APIs, and Player Tools

Embedded Player

Chromeless Player

YouTube Data API

YouTube Live Streaming API

Difficulty Table

The API Overview Guide provides the following table:

Basic Player APIs with embedded player
Medium Player APIs with chromeless player
Advanced Data API and Player APIs with chromeless player

Resources

https://developers.google.com/youtube/getting_started