I’ve tested the plugin on our staging site and it seems to work well. Your plugin calls the iframe from youtube-nocookie.com which is obviously good for privacy and GDPR compliance. However, no views or watch hour statistics are registered on the associated YouTube account, which is an issue for a channel that relies on external traffic.
Privacy and GDPR compliance can be achieved with a separate cookie control plugin that makes YouTube cookies optional.
Is it possible to have an option to call the iframe direct from YouTube (youtube-nocookie.com could still be the default for general users)?
If so, would statistics be registered with the associated YouTube account, or is there something about the plugin that will block them regardless?
Thanks for your help
]]>Please, someone who can help me with this error, the video is black and only heard but not seen.
This is the error that appears in the console: Access to XMLHttpRequest at ‘https://googleads.g.doubleclick.net/pagead/id’ from origin ‘https://www.youtube-nocookie.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Regards and many Thanks!
]]>is there support for embedding Youtube videos with the nocookie domain?
example: https://www.inlife.co.uk/2018/05/how-to-embed-youtube-videos-without-using-cookies/
]]><iframe width="560" height="315" src="https://www.youtube.com/embed/WoQHOx6XS-E?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
<iframe width="560" height="315" src="https://www.youtube<strong>-nocookie</strong>.com/embed/WoQHOx6XS-E?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
I created a test page with the following code:
1
2
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/WoQHOx6XS-E?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
3
"https://www.youtube.com/watch?v=WoQHOx6XS-E"
4
"https://www.youtube-nocookie.com/watch?v=WoQHOx6XS-E"
5
"https://www.youtube-nocookie.com/embed/WoQHOx6XS-E?rel=0"
Number 1, 2 and 3 are working, 4 and 5 are not. I really would like to use 4 or 5 because that’s the way we’ve set up our side and we use the ‘poster=’ tag to provide our own thumbnails.
Any idea if this “youtube-nocookie.com” url can be supported? I guess this must be adjusted in the wordpress core functionality, so that the video shortcode is updated?
Thanks
EDIT: Number 1 is just the url: “https://www. youtube.com/watch?v=WoQHOx6XS-E”
]]>first of all thanks for this great plugin, I am using this for a while now and I am very happy with it.
Regarding the GDPR I was wondering if there is any way to use youtube fancybox windows with the youtube-nocookie.com/* embeded link instead of the regular youtube.com/* embed link?
I hope you can help with a solution as this affect us all.
]]>