Skip to content

Commit

Permalink
revert back to www.youtube.com when client_config.screen embed
Browse files Browse the repository at this point in the history
  • Loading branch information
unixfox committed Nov 9, 2024
1 parent 82b1506 commit f3e93ca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/invidious/yt_backend/youtube_api.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit f3e93ca

Please sign in to comment.