Last active
October 8, 2023 15:26
-
-
Save AioiLight/3a6b88c90f22adb03e639a2d1c851937 to your computer and use it in GitHub Desktop.
Disable rounded corner of YouTube video player
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@-moz-document domain("youtube.com") { | |
:root { | |
--yt-player-corner-radius-mod: 0px; | |
} | |
/* YouTube Video Player */ | |
#ytd-player { | |
border-radius: var(--yt-player-corner-radius-mod) !important; | |
} | |
/* YouTube Shorts */ | |
.ytd-reel-video-renderer { | |
border-radius: var(--yt-player-corner-radius-mod) !important; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:root { | |
--yt-player-corner-radius-mod: 0px; | |
} | |
/* YouTube Video Player */ | |
#ytd-player { | |
border-radius: var(--yt-player-corner-radius-mod) !important; | |
} | |
/* YouTube Shorts */ | |
.ytd-reel-video-renderer { | |
border-radius: var(--yt-player-corner-radius-mod) !important; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment