mirror of
https://gitea.invidious.io/iv-org/invidious
synced 2024-12-28 17:51:57 +01:00
Add sources for iOS
This commit is contained in:
parent
e37e9a0b8e
commit
f33cbb8b92
@ -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 New Issue
Block a user