Revert "use web screen embed for fixing potoken functionality (#4923)"

This reverts commit de918b9234.
The code doesn't work as expected. Reverting
This commit is contained in:
Emilien Devos
2024-09-17 00:22:06 +02:00
parent de918b9234
commit cec3cfba77
2 changed files with 5 additions and 11 deletions

View File

@@ -291,9 +291,8 @@ 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.google.com/",
"embedUrl" => "https://www.youtube.com/embed/#{video_id}",
} of String => String | Int64
end