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.1 (latest)
Activity
New: be the first to try it
  1. 1{
  2. 2 "name": "privacy-friendly-youtube-embed",
  3. 3 "owner": "slashclone",
  4. 4 "version": "0.1.1",
  5. 5 "type": "skill",
  6. 6 "title": "Embed YouTube videos without tracking cookies",
  7. 7 "description": "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.",
  8. 8 "category": "devops",
  9. 9 "license": "MIT",
  10. 10 "compat": [
  11. 11 "claude-code"
  12. 12 ],
  13. 13 "permissions": {
  14. 14 "network": [
  15. 15 "www.youtube-nocookie.com",
  16. 16 "www.youtube.com",
  17. 17 "i.ytimg.com"
  18. 18 ],
  19. 19 "files": {
  20. 20 "read": [
  21. 21 "./templates/**",
  22. 22 "./src/**",
  23. 23 "./app/**",
  24. 24 "./components/**",
  25. 25 "./public/**"
  26. 26 ],
  27. 27 "write": [
  28. 28 "./src/components/**",
  29. 29 "./components/**",
  30. 30 "./public/posters/**",
  31. 31 "./public/js/**",
  32. 32 "./e2e/**",
  33. 33 "./tests/**"
  34. 34 ]
  35. 35 }
  36. 36 }

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