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.
- Activity
- New: be the first to try it
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
What this kit declares, in the same words the CLI shows before you install. On Claude Code the CLI turns these into permission rules, so the agent stops anything undeclared.
Network
Connects to www.youtube-nocookie.com
Network
Connects to www.youtube.com
Network
Connects to i.ytimg.com
Reads
Reads files in ./templates/**
Reads
Reads files in ./src/**
Reads
Reads files in ./app/**
Reads
Reads files in ./components/**
Reads
Reads files in ./public/**
Writes
Writes files in ./src/components/**
Writes
Writes files in ./components/**
Writes
Writes files in ./public/posters/**
Writes
Writes files in ./public/js/**
Writes
Writes files in ./e2e/**
Writes
Writes files in ./tests/**
- Works with
- claude-code
- License
- MIT
