Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Youtube Cookies

Security covered Under active development 685 sites

Part of the Youtube ecosystem · 10 projects

This module enforces YouTube's cookie privacy policy by displaying a placeholder or facade for YouTube videos until the user explicitly consents to YouTube-related cookies. It integrates with cookie compliance systems and provides options for how videos are hidden or displayed based on user consent.

This module attempts to make the YouTube videos played on the site with the cookie privacy policy. If the user has not enabled the YouTube-related cookies, the YouTube videos will be displayed with a façade.

Compatibility

Integrations

Configuration

  1. Go to /admin/config/system/youtube-cookies
  2. Fill the "Cookie category" with the category machine name that should be accepted to play the YouTube videos.
  3. Select your "Cookie compliance system".
  4. Set the "Action when the user have not consent".
    NOTE: The youtube-nocookie.com domain option is deprecated as it is not fully GDPR compliant and will be removed in future versions.
  5. Customise the pop-up message and save it.

To block YouTube videos added via CKEditor, go to the text format and enable the "YouTube cookies filter".

Drupal 9–11

Ask your assistant about Youtube Cookies

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
14
Tracked since
May 2023
Latest release
6 months ago
Releases (12 mo)
1 ▼ from 4
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
2.1.7 Stable 9–11 Mar 27, 2026
2.1.6 Stable 9–11 Jun 16, 2025
2.1.5 Stable 9–11 Jun 13, 2025
2.1.4 Stable 9–11 Feb 4, 2025
2.1.3 Stable 9–11 Jan 27, 2025
2.1.2 Stable 9–10 Oct 2, 2024
2.1.1 Stable 9–10 Mar 21, 2024
2.1.0 Stable 9–10 Dec 21, 2023
2.0.1 Stable 9–10 Sep 28, 2023
2.0.0 Stable 9–10 Sep 5, 2023