What code is necessary to load youtube GDPR/DSGVO compliant?
e.g. with youtube-nocookie or even better sth- like “click-to-load player”
I’m using story theme and the only string which contains youtube is in /static/js/remark.js
What code is necessary to load youtube GDPR/DSGVO compliant?
e.g. with youtube-nocookie or even better sth- like “click-to-load player”
I’m using story theme and the only string which contains youtube is in /static/js/remark.js
Hugo offers a youtube-nocookie
shortcode. To enable it please have a look over here:
This is awesome documentation!
Very helpful!
Thank you very much!!
I have created a shortcode that defers loading embed YouTube videos until user agrees to privacy policy. You can find it here: GitHub - rpapallas/hugo_gdpr_embeds: Hugo shortcodes for embedding YouTube videos with a warning/consent form.
youtube-nocookie
shortcode
This is (probably) not a legal solution.
This shortcode may help:
This might help as well: Youtube shortcode | Hugo Codex