mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add sources for iOS
This commit is contained in:
parent
e37e9a0b8e
commit
f33cbb8b92
1 changed files with 0 additions and 2 deletions
|
@ -211,8 +211,6 @@ get "/watch" do |env|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# 3gpp doesn't appear to play correclty in Chrome, so here we remove it
|
|
||||||
fmt_stream = fmt_stream.compact_map { |s| !s["type"].starts_with?("video/3gpp") ? s : nil }
|
|
||||||
fmt_stream = fmt_stream.uniq { |s| s["quality"] }
|
fmt_stream = fmt_stream.uniq { |s| s["quality"] }
|
||||||
|
|
||||||
video_streams = adaptive_fmts.compact_map { |s| s["type"].starts_with?("video") ? s : nil }
|
video_streams = adaptive_fmts.compact_map { |s| s["type"].starts_with?("video") ? s : nil }
|
||||||
|
|
Loading…
Reference in a new issue