mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-22 21:23:04 +05:30
revert back to www.youtube.com when client_config.screen embed
This commit is contained in:
parent
82b1506ccc
commit
f3e93ca83d
@ -300,9 +300,8 @@ module YoutubeAPI
|
||||
end
|
||||
|
||||
if client_config.screen == "EMBED"
|
||||
# embedUrl https://www.google.com allow loading almost all video that are configured not embeddable
|
||||
client_context["thirdParty"] = {
|
||||
"embedUrl" => "https://www.google.com/",
|
||||
"embedUrl" => "https://www.youtube.com/embed/#{video_id}",
|
||||
} of String => String | Int64
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user