From 5e1f372f1628ffbb1461de0fd6f942c9644c0c12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Shadowsun=E2=84=A2?= <12494967+CattoGamer@users.noreply.github.com> Date: Sat, 21 Dec 2024 20:01:42 +0100 Subject: [PATCH] Fix Video player sizing for YouTube --- .../gamemode/modules/theater/services/sh_youtube.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workshop/gamemodes/cinema_modded/gamemode/modules/theater/services/sh_youtube.lua b/workshop/gamemodes/cinema_modded/gamemode/modules/theater/services/sh_youtube.lua index 988789f..08fd394 100644 --- a/workshop/gamemodes/cinema_modded/gamemode/modules/theater/services/sh_youtube.lua +++ b/workshop/gamemodes/cinema_modded/gamemode/modules/theater/services/sh_youtube.lua @@ -120,6 +120,8 @@ if (CLIENT) then player.style.backgroundColor = "#000"; player.style.height = "100vh"; + player.style.left = '0px'; + player.style.width = '100%'; let countAmt = 0 let resizeTimer = setInterval(function() {