Quick Start
This guide shows the videos of a YouTube playlist on a page of your site in about ten minutes.
1. Get an API key
Create a YouTube Data API v3 key in the Google Cloud console and copy it. See YouTube Data API for the steps.
2. Find your playlist ID
Open the playlist on YouTube. Its address looks like https://www.youtube.com/playlist?list=PLxxxxxxxx. Copy the part after list=. That is the playlist ID.
3. Open the module
- Go to Content > Site Modules.
- Open the unpublished Easy Youtube Videos module, or click New and choose Easy Youtube Videos.
- Give it a Title, such as "Our videos".
4. Enter the key and the source
On the Module tab:
- Paste your key in Api Key.
- In Display, choose Youtube playlist videos.
- Paste the playlist ID in Youtube Playlist.
- Leave Alternative Layout on Default - Standard layout.
- Set Max Videos, for example 6.
5. Place and publish
- Choose a Position, for example
main-bottomin Cassiopeia. - Set Status to Published.
- On the Menu Assignment tab, choose On all pages. The Load More button needs this setting or On all pages except those selected. See Load More.
- Click Save & Close.
6. Check it on the site
Open a page where the module is assigned. You see cards with the thumbnail, title, description, category and views of the first six videos, and a Load More button if the playlist has more. Click a thumbnail: the video opens in a popup and starts playing. Close the popup with the cross or the Escape key.
If you see a red "Easy Youtube Videos not working" message instead, read the code and message under it and see Troubleshooting.
Next steps
- Video sources: channels, searches and the most popular list.
- Layouts: columns, the grid and the vertical list.
- YouTube Data API: turn on caching to save quota.