Revert "use WEB_CREATOR when po_token with WEB_EMBED as a fallback (#4928)"

This reverts commit d9df90b5e3.
This commit is contained in:
Fijxu
2024-10-08 19:53:35 -03:00
parent 2f5a555ea7
commit cf6c3a7b5b
2 changed files with 8 additions and 29 deletions

View File

@@ -29,7 +29,6 @@ module YoutubeAPI
WebEmbeddedPlayer
WebMobile
WebScreenEmbed
WebCreator
Android
AndroidEmbeddedPlayer
@@ -81,14 +80,6 @@ module YoutubeAPI
os_version: WINDOWS_VERSION,
platform: "DESKTOP",
},
ClientType::WebCreator => {
name: "WEB_CREATOR",
name_proto: "62",
version: "1.20240918.03.00",
os_name: "Windows",
os_version: WINDOWS_VERSION,
platform: "DESKTOP",
},
# Android
@@ -300,9 +291,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