mirror of https://github.com/iv-org/invidious.git
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
|
end
|
||||||
|
|
||||||
if client_config.screen == "EMBED"
|
if client_config.screen == "EMBED"
|
||||||
# embedUrl https://www.google.com allow loading almost all video that are configured not embeddable
|
|
||||||
client_context["thirdParty"] = {
|
client_context["thirdParty"] = {
|
||||||
"embedUrl" => "https://www.google.com/",
|
"embedUrl" => "https://www.youtube.com/embed/#{video_id}",
|
||||||
} of String => String | Int64
|
} of String => String | Int64
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue