summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÉmilien (perso) <4016501+unixfox@users.noreply.github.com>2024-11-08 22:01:23 +0100
committerGitHub <noreply@github.com>2024-11-08 22:01:23 +0100
commit09ccea1d31366e5f6ce1c0b3e13f3a8d84428184 (patch)
treec156d162da5458d031b26b5c508c5f0f689e0d8a
parent792d0d5f6df912039a58768e6ff503ae00abe7c0 (diff)
downloadinvidious-09ccea1d31366e5f6ce1c0b3e13f3a8d84428184.tar.gz
invidious-09ccea1d31366e5f6ce1c0b3e13f3a8d84428184.tar.bz2
invidious-09ccea1d31366e5f6ce1c0b3e13f3a8d84428184.zip
remove usage of TVHTML5_SIMPLY_EMBEDDED_PLAYER
-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 fb8935d9..8dab5881 100644
--- a/src/invidious/videos/parser.cr
+++ b/src/invidious/videos/parser.cr
@@ -124,14 +124,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