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.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
/* ==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;
}
}