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

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

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