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
- Installs
- 0 installs
- Likes
- 0 likes
- Clones
- 0 clones
- 1{
- 2 "name": "privacy-friendly-youtube-embed",
- 3 "owner": "slashclone",
- 4 "version": "0.1.0",
- 5 "type": "skill",
- 6 "description": "Embed YouTube videos that load nothing from Google until the visitor presses Play or allows embedded videos. A click-to-play placeholder with a local poster, the youtube-nocookie.com player, CSP entries only when embeds exist, a real keyboard-friendly button, 16:9 sizing with no layout shift, and a Playwright test that proves no YouTube request happens first. React and plain HTML templates. Reads consent from your consent layer.",
- 7 "category": "devops",
- 8 "license": "MIT",
- 9 "compat": ["claude-code"],
- 10 "permissions": {
- 11 "network": ["www.youtube-nocookie.com", "www.youtube.com", "i.ytimg.com"],
- 12 "files": {
- 13 "read": ["./templates/**", "./src/**", "./app/**", "./components/**", "./public/**"],
- 14 "write": [
- 15 "./src/components/**",
- 16 "./components/**",
- 17 "./public/posters/**",
- 18 "./public/js/**",
- 19 "./e2e/**",
- 20 "./tests/**"
- 21 ]
- 22 }
- 23 }
- 24}
