Streaming live at 10am (PST)

Disabling Youtube Cookies


#1

Hi guys,

we want to offer our visitors the possibility to decline cookie use. However, YouTube for example places cookies automatically if you open a page with an embedded video.

Youtube offers a nocookie-embed options, which can be used like this:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/J---aiyznGQ?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

However, this comes with several problems:

  1. After clicking on play, the cookies will still be set (which should not happen if consent was declined)
  2. https://www.youtube-nocookie.com/embed/J---aiyznGQ” does not get accepted as a link url in Webflows video element
  3. It also doesn’t work in Rich Body Elements

I was thinking about writing a script that removes the video, until consent is given. But I guess that would not work since cookies are placed by YT immediately. Can anyone think of a smart solution?


How can I change type attribute from text/javascript to text/plain?
#2

I’m interested in this as well. Both Vimeo and Youtube have ‘privacy-problems’ regarding the GDPR. You preferably don’t want to use them if you want 100% compliant (and want to avoid obstructive/annoying cookie-walls).


#3

Unfortunately there is no way to enforce this, since editors can always use videos in rich texts.

It would be great if youtube’s privacy urls would be allowed. Then we could implement a custom solution on top, to remove the video if cookies were disabled, and no cookie will ever be set.


#4

So for now, we can only use video’s with custom iframes, if we don’t want YT to set cookies (by default).
Is there an option to host a video on Webflow (besides the background video)?


#5

Any updates on youtube embeds? I think the problem is bigger than just youtube videos – vimeo, google maps etc. Any ideas how to use it on my client’s website and stay GDPR compliant?


#6

Might have to create a wishlist item for this?


#7

Hey guys, I created a wishlist item:
https://wishlist.webflow.com/ideas/WEBFLOW-I-1540

However, this is probably difficult to solve for webflow as long as they don’t offer a general cookie handling feature themselves. The only other solution I could think of is to not insert video elements by default and offering a javascript function to insert the video that webflow users can call once cookies are accepted.


#8

Hey andre9000
I wouldn’t use any embeds on my personal websites, but what about clients asking to add a youtube video or a google maps embed on their website? It’s a huge limitation. On wordpress there are endless plugins to stay GDPR compliant though. So naturally I will lose my clients to Wordpress developers… https://wordpress.org/plugins/youtube-embed-plus/
There are plenty of plugins to stay GDPR compliant