Consent to youtube videos

Any recommendation how to make youtube videos GDPR conform? Is there any best practise for modx?

Found so far:


Hello @spica8,
take a look at ConsentFriend (https://modmore.com/consentfriend/). You can replace iFrame autoloading like this:

[[*content:replace=`src="==data-src="`]]

thanks jens for the suggestion.
Consentfriend seems good but for me a bit overhead.
Now have tried the script posted earlier and that fits quite good.