summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSamantaz Fox <coding@samantaz.fr>2024-11-10 17:45:58 +0100
committerSamantaz Fox <coding@samantaz.fr>2024-11-10 17:45:58 +0100
commitd7c35e6e3d791533a0dd59510211e9a3112f525e (patch)
tree294da626813540d1d96e3a8ec57e5019ee7e9fac /src
parentbc86fb8a82bc16c1568a5a99d34ead3730ff2813 (diff)
parent09ccea1d31366e5f6ce1c0b3e13f3a8d84428184 (diff)
downloadinvidious-d7c35e6e3d791533a0dd59510211e9a3112f525e.tar.gz
invidious-d7c35e6e3d791533a0dd59510211e9a3112f525e.tar.bz2
invidious-d7c35e6e3d791533a0dd59510211e9a3112f525e.zip
Videos: Stop using TVHTML5_SIMPLY_EMBEDDED_PLAYER (#5063)
The age restriction bypass does not work anymore with this client. See: https://github.com/iv-org/invidious/issues/2189#issuecomment-2437740627 Related to 2189
Diffstat (limited to 'src')
-rw-r--r--src/invidious/videos/parser.cr8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/invidious/videos/parser.cr b/src/invidious/videos/parser.cr
index 927b886a..915c9baf 100644
--- a/src/invidious/videos/parser.cr
+++ b/src/invidious/videos/parser.cr
@@ -113,14 +113,6 @@ def extract_video_info(video_id : String)
new_player_response = try_fetch_streaming_data(video_id, client_config)
end
- # Last hope
- # Only trigger if reason found or didn't work wth Android client.
- # TvHtml5ScreenEmbed now requires sig helper for it to work but doesn't work with po_token.
- if reason && CONFIG.po_token.nil?
- client_config.client_type = YoutubeAPI::ClientType::TvHtml5ScreenEmbed
- new_player_response = try_fetch_streaming_data(video_id, client_config)
- end
-
# Replace player response and reset reason
if !new_player_response.nil?
# Preserve captions & storyboard data before replacement