This module allows you to display videos from your YouTube channel directly on your website. It integrates with the YouTube Data API to fetch and showcase your videos without needing to upload them to your own server.
This module allows retrieving youtube channel videos on the website.
It will helpful module for those who want to integrate own youtube channel videos to the website in less time.
This module very useful for News Channel, Educational, Entertainment, Social, etc. because they upload videos to youtube on daily basis. You can easily integrate youtube with the website.
No need to upload videos to the server, directly upload videos to youtube channel and retrieve to the website with the using of this module.
Requirements
Go to from Google Developers Console click on Youtube Data API and get new api key.
Installation
composer require drupal/youtube_gallery:'^1.3'
drush ytg:libraries
Configuration
- Visit https://console.cloud.google.com/ , log in with the account that owns your youtube channel and configure youtube api , get the (google api key) and then get your Youtube channel ID from your youtube channel.
- visit
/admin/config/youtube_gallery/manage - Enter your Google API key
- Enter your Youtube Channel ID
- Enter the number of videos
- Save the form.
- Add the youtube block either via the /admin/structure/block or some other means and configure the visibility.
- That's it, visit the page(s) with the block and your channel videos will be there.
- See the README.md for more details.
README.md
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-1.4 | Stable | 10–11 | Added sort options. | Feb 6, 2026 | |
| 8.x-1.3 | Stable | 10–11 | Drupal 10.3+ and Drupal 11 compatibility | Nov 22, 2025 | |
| 8.x-1.3-rc3 | Pre-release | 10–11 | Maintenance release | Nov 22, 2025 | |
| 8.x-1.3-rc2 | Pre-release | 10–11 | Maintenance release | Nov 21, 2025 | |
| 8.x-1.3-rc1 | Pre-release | 10–11 | Maintenance release | Nov 21, 2025 | |
| 8.x-1.2 | Stable | 9–10 | Maintenance release | Nov 3, 2025 | |
| 8.x-1.1 | Stable | 9–10 | Drupal 10 compatibility | Nov 3, 2025 |