Streaming live at 10am (PST)

Disabling Youtube Cookies


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="" 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.” 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?