Add privacy-enhaced support for embeds
inakicalvo opened this issue · comments
Iñaki Calvo Sánchez commented
Hi @insin!
I'm using your package but manually editing it to support privacy-enhanced embeds.
Here's the link to the docs. And the main change needed to make it work:
Change the domain for the embed URL in your HTML from https://www.youtube.com to https://www.youtube-nocookie.com.
If you think it's worth it, I could try to write the logic to make this work and submit a PR.
Let me know if you are interested.
By the way, thanks for publishing this package. It helped me a lot with improving the Core Web Vitals on a site I built 🙏