mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-16 09:58:50 +00:00
use web screen embed for fixing potoken functionality (#4923)
* use web screen embed for fixing potoken functionality * use web screen embed only for getting streamingData + disable tv screen on po_token
This commit is contained in:
@@ -291,8 +291,9 @@ module YoutubeAPI
|
||||
end
|
||||
|
||||
if client_config.screen == "EMBED"
|
||||
# embedUrl https://www.google.com allow loading video that are configured not embeddable
|
||||
client_context["thirdParty"] = {
|
||||
"embedUrl" => "https://www.youtube.com/embed/#{video_id}",
|
||||
"embedUrl" => "https://www.google.com/",
|
||||
} of String => String | Int64
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user