Global Video Settings

some videos wer cropted into square, lack of saturation, or like on tiktok some videos want you to turn your screen upside down as if all users are in smartphone😆 this might help you on that.

当前为 2022-01-25 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ==UserStyle==
@name           Global Video Settings
@namespace      https://userstyles.world/user/xyadx
@version        1.0.0
@description    some videos wer cropted into square, lack of saturation, or like on tiktok some videos want you to turn your screen upside down as if all users are in smartphone😆 this might help you on that.

i just made this for facebook livestreams before coz some of them wer squeeze onto square ratio and idk why.
@supportURL     https://userstyles.world/style/2942/global-video-settings
@author         YAD
@license        NO-REDISTRIBUTION
@preprocessor   stylus

@var range sat 'Saturation' [105, 1, 200, 1, '%']
@var range bri 'Brightness' [105, 1, 200, 1, '%']
@var range con 'Contrast' [105, 1, 200, 1, '%']
@var range trX 'Stretch X-axis' [1, 0.1, 3, 0.1, '']
@var range trY 'Stretch Y-axis' [1, 0.1, 3, 0.1, '']
@var range rot 'Video Rotation' [0, 0, 360, 10, 'deg']
==/UserStyle== */
@-moz-document regexp("https?://(?!(.*\\.excludedsite\\.com/)).*") {
// website to exclude from this script ⬆️

	:root {
		--Y: trY;
		--X: trX;
		--r: rot;
		--s: sat;
		--b: bri;
		--c: con;
	}
	video  {
		transform: rotate(var(--r)) scaleX(var(--X)) scaleY(var(--Y))!important;
		filter: saturate(var(--s)) brightness(var(--b)) contrast(var(--c))!important;
		transition: 0.1s
	}	
	[class*="html5-video-player"] {
		overflow: visible!important;
	}
	[class*="ended-mode"] [class="html5-video-container"] {
		display: none
	}
}