Please help me with GDPR and YouTube

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!!