mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:35:38 -04: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