mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
remove 3gp only from the player (#2376)
+ video quality precedence on default player when js is not enabled
This commit is contained in:
parent
0e92a63d14
commit
8b62c05fe2
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@
|
|||
<% end %>
|
||||
|
||||
<%
|
||||
fmt_stream.reject! { |f| f["itag"] == 17 }
|
||||
fmt_stream.sort_by! {|f| params.quality == f["quality"] ? 0 : 1 }
|
||||
fmt_stream.each_with_index do |fmt, i|
|
||||
src_url = "/latest_version?id=#{video.id}&itag=#{fmt["itag"]}"
|
||||
src_url += "&local=true" if params.local
|
||||
|
|
Loading…
Reference in a new issue