Extend youtube player styles (Background, Borders)

Makes youtube player round and hides black background

  1. // ==UserScript==
  2. // @name Extend youtube player styles (Background, Borders)
  3. // @namespace shiftgeist
  4. // @match https://www.youtube.com/*
  5. // @grant GM_addStyle
  6. // @version 20250407
  7. // @author shiftgeist
  8. // @description Makes youtube player round and hides black background
  9. // @run-at document-start
  10. // @license GNU GPLv3
  11. // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com
  12. // ==/UserScript==
  13.  
  14. GM_addStyle(`
  15. ytd-watch-flexy[full-bleed-player] div#full-bleed-container.ytd-watch-flexy {
  16. background: #0f0f0f;
  17. }
  18.  
  19. .video-stream.html5-main-video {
  20. border-radius: 4px;
  21. }
  22. `);