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.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           YouTube - Force consistent video size (revert to pre-flexy)
@namespace      https://greasyfork.org/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;
}
}