Skip to content
SlashClone

Embed YouTube videos without tracking cookies

@slashclone/privacy-friendly-youtube-embed

Embed YouTube videos on your site without loading anything from Google until the visitor presses Play or allows videos. A click-to-play placeholder with a local poster swaps in the youtube-nocookie.com player, with a keyboard-friendly button, no layout shift, CSP entries, and a Playwright test that proves no YouTube request happens first. React and HTML templates. Not legal advice.

SkillDevOpsv0.1.0
Activity
New: be the first to try it

Clones

No clones yet.

Make your own version with slashclone clone @slashclone/privacy-friendly-youtube-embed. The original author keeps the credit.

0 clones · Made by @slashclone

Cookies that keep you signed in and remember these choices are always on. Everything else is off until you turn it on.