Skip to content

Commit

Permalink
Update sh_youtube.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
CattoGamer committed Aug 4, 2024
1 parent 2210308 commit 454063d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 454063d

Please sign in to comment.