Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Limit YouTube video height in theater mode to 720p
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("youtube.com") {
ytd-watch[theater] :not(.ytp-fullscreen)>.html5-video-container>.html5-main-video {
max-height: 720px;
}
ytd-watch[theater] #player.ytd-watch {
max-height: 720px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment