From 454063d6fcf8f7f4d89e4f87b586befcf45520b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Shadowsun=E2=84=A2?=
 <12494967+CattoGamer@users.noreply.github.com>
Date: Sun, 4 Aug 2024 05:15:00 +0200
Subject: [PATCH] Update sh_youtube.lua

---
 .../gamemode/modules/theater/services/sh_youtube.lua          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 e343e42..fb96cf3 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
@@ -32,14 +32,14 @@ if (CLIENT) then
 
 	local embedUrlParser = {
 		["youtube"] = function( Video )
-			return ("https://" .. hostname .. "/embed/%s?autoplay=1&thin_mode=1&controls=0&quality=auto&volume=1&t=%s"):format(
+			return ("https://" .. hostname .. "/embed/%s?autoplay=0&thin_mode=1&controls=0&quality=auto&volume=1&t=%s"):format(
 					Video:Data(),
 					math.Round(CurTime() - Video:StartTime()
 				)
 			)
 		end,
 		["youtubelive"] = function( Video )
-			return ("https://" .. hostname .. "/embed/%s?autoplay=1&thin_mode=1&controls=0&quality=auto&volume=1"):format(
+			return ("https://" .. hostname .. "/embed/%s?autoplay=0&thin_mode=1&controls=0&quality=auto&volume=1"):format(
 				Video:Data()
 			)
 		end