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

Suggested improvements are proposed file changes. Maintainers review the diff and can merge one into a new version, which goes through the usual scan, review, and signing.

Sign in to suggest a change

No suggestions yet.

Diffs are visible to the author and the maintainers.

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