Skip to main content
All CollectionsBest Practices, Tips & TricksTips & Tricks
How to embed YouTube videos without a cookie consent banner
How to embed YouTube videos without a cookie consent banner

Create a streamlined, GDPR-compliant browsing experience by embedding YouTube videos without a cookie consent banner.

Updated over a week ago

Videos today form a large portion of the multimedia experience we present in our interactive, digital catalogs. The majority of videos are now hosted externally, on dedicated hosting platforms such as YouTube.

However, current GDPR requirements stipulate that visitors give active consent to each and every domain they visit. As externally-hosted YouTube videos exist on a domain outside your Flipbook, this means that often, when visitors click on a video, they must first give consent via a banner.

Let’s be honest: this can sometimes cause friction in an otherwise seamless browsing experience. Luckily, YouTube has developed a simple, GDPR-compliant way of allowing videos to be embeddable, without the need of giving consent via a cookie banner.

It's easy:

On the URL of the YouTube video you want to share, click 'Share' underneath the video.
  1. On the YouTube URL of the video you wish to embed, select the Share button underneath the video.

    In the Share modal, select 'Embed' from the available share settings.
  2. Next, select Embed from the available sharing options. This will open the embed options for the video.

    In the Embed video modal, under 'Embed options', select 'Enable privacy-enhance mode.'

  3. In the Embed video modal, scroll down to the section Embed options and select Enable privacy-enhanced mode.

    By ticking this box, the system will automatically append the “no cookie” code to the domain. This action eliminates the tracker, rendering the embedded video GDPR-compliant.

    The URL in the embed code will display a no-cookie version. Click 'Copy' and paste this embed code directly where you wish to embed your video.
  4. You'll notice that the source URL in the embed code will show as a 'https://www.youtube-nocookie.com' version.

    Click Copy to copy the embed code to your clipboard. You can now paste this code directly where you wish to embed your video.

💡 You can also do this process faster by simply replacing 'https://www.youtube.com' with 'https://www.youtube-nocookie.com' if you already have the embed code to hand.

Did this answer your question?