This is YouTube videos gallery for website. It pulls the videos from YouTube playlist and show it on your website with custom look. It is responsive and customizable.
Demo (Currently not working due to expired API key)
- Create API key using your Google account: https://console.developers.google.com/
- Enable the API for further usage. Link to enable API can be seen on Dashboard header.
- Now create JSON resonse from Google APIs Explorer https://developers.google.com/
- Go to Services > YouTube Data API v3 > youtube.playlistItems.list
- In "Part" field add "snippet" string. It is a JSON object name that contains all the data we need.
- In "playlistId" field add "{YouTube Playlist ID}". It is a text and numbers combination at the end of your playlist. E.g https://www.youtube.com/playlist?list= {YouTube Playlist ID}
- Now click on "Execute"
- It creates Request and Response. GET URL and JSON response respectively.
- {YOUR_API_KEY} at the end of Request URL is import to work with this feature. Refer point number one for creating API key.
- Once we have Request URL with JSON response, we can play with it as we want. For example see Demo.
- Active state of current video.
- Auto play one after another.
- Swiper for awesome carousel
- YouTube Data API V3