YouTube - Force consistent video size (revert to pre-flexy)

This style forces to use the pre-flexy video size before it first came out in 2018.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

/* ==UserStyle==
@name           YouTube - Force consistent video size (revert to pre-flexy)
@namespace      https://greatest.deepsurf.us/en/users/933798
@version        20250418.11.22
@description    This style forces to use the pre-flexy video size before it first came out in 2018.
@author         Magma_Craft
@license        MIT
==/UserStyle== */
 
@-moz-document domain("youtube.com") {
div#primary.style-scope.ytd-watch-flexy, ytd-watch-flexy[flexy] #player-container-outer.ytd-watch-flexy {
  min-width: 853px !important;
  max-width: 853px !important;
}

/* Replace background from transparent to black translucent one */
ytd-watch-flexy[flexy] #player-container-outer.ytd-watch-flexy {
  background-color: #000000 !important;
}

/* Remove rounded edges on videos due to buggyness */
ytd-watch-flexy[rounded-player-large]:not([fullscreen]):not([theater]) #ytd-player.ytd-watch-flexy, ytd-watch-flexy[rounded-player] #ytd-player.ytd-watch-flexy {
  border-radius: 0px !important;
}
}