YouTube Embed Remove Branding.

Ideal for custom embedded players to make embed feel less like third-party.

  1. // ==UserScript==
  2. // @name YouTube Embed Remove Branding.
  3. // @namespace youtubeembedbrandremoval
  4. // @match https://*.youtube.com/embed*
  5. // @grant none
  6. // @version 1.0.4
  7. // @license GPLv3
  8. // @author Hououin Kyōma
  9. // @description Ideal for custom embedded players to make embed feel less like third-party.
  10. // @run-at document-end
  11. // ==/UserScript==
  12.  
  13. var style = document.createElement("style");
  14. style.innerHTML = `
  15. .ytp-gradient-top,
  16. .ytp-chrome-top,
  17. .ytp-show-tiles,
  18. .ytp-watermark,
  19. .ytp-youtube-button,
  20. .ytp-impression-link,
  21. .ytp-pause-overlay-container,
  22. .ytp-player-content,
  23. .ytp-ce-element,
  24. .ytp-small-redirect {
  25. display: none!important;
  26. }
  27.  
  28. .ytp-large-play-button-bg, .ytp-large-play-button-red-bg {
  29. display: none!important;
  30. fill: #222!important; /* If you want it, can make it less YT like */
  31. }
  32. div:hover .ytp-large-play-button-bg, div:hover .ytp-large-play-button-red-bg {
  33. fill: #333!important;
  34. }
  35.  
  36. `;
  37.  
  38. document.head.appendChild(style);