mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 01:01:57 +01:00
Revert to iv-org fork of silvermine-videojs-quality-selector
Upstream requires at least two additional sources. Whereas Invidious needs it to be able to display a single additional source for normal (dashless) qualites. Aka medium and hd720.
This commit is contained in:
parent
b6670a7e3d
commit
0323202a03
5 changed files with 21 additions and 7 deletions
1
assets/css/quality-selector.css
Normal file
1
assets/css/quality-selector.css
Normal file
|
@ -0,0 +1 @@
|
|||
.vjs-quality-selector .vjs-menu-button{margin:0;padding:0;height:100%;width:100%}.vjs-quality-selector .vjs-icon-placeholder{font-family:'VideoJS';font-weight:normal;font-style:normal}.vjs-quality-selector .vjs-icon-placeholder:before{content:'\f110'}.vjs-quality-changing .vjs-big-play-button{display:none}.vjs-quality-changing .vjs-control-bar{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;visibility:visible;opacity:1}
|
4
assets/js/silvermine-videojs-quality-selector.min.js
vendored
Normal file
4
assets/js/silvermine-videojs-quality-selector.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -21,8 +21,8 @@
|
|||
<% end %>
|
||||
|
||||
<% if params.listen || params.quality != "dash" %>
|
||||
<link rel="stylesheet" href="/videojs/silvermine-videojs-quality-selector/quality-selector.css?v=<%= ASSET_COMMIT %>">
|
||||
<script src="/videojs/silvermine-videojs-quality-selector/silvermine-videojs-quality-selector.js?v=<%= ASSET_COMMIT %>"></script>
|
||||
<link rel="stylesheet" href="/css/quality-selector.css?v=<%= ASSET_COMMIT %>">
|
||||
<script src="/js/silvermine-videojs-quality-selector.min.js?v=<%= ASSET_COMMIT %>"></script>
|
||||
<% end %>
|
||||
|
||||
<% if !params.listen && params.vr_mode %>
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/videojs/silvermine-videojs-quality-selector/silvermine-videojs-quality-selector.min.js?v=<%= ASSET_COMMIT %>">silvermine-videojs-quality-selector</a>
|
||||
<a href="/js/silvermine-videojs-quality-selector.min.js?v=<%= ASSET_COMMIT %>">silvermine-videojs-quality-selector.min.js</a>
|
||||
</td>
|
||||
|
||||
<td>
|
||||
|
@ -75,7 +75,7 @@
|
|||
</td>
|
||||
|
||||
<td>
|
||||
<a href="https://github.com/omarroth/videojs-quality-selector"><%= translate(locale, "source") %></a>
|
||||
<a href="https://github.com/iv-org/videojs-quality-selector"><%= translate(locale, "source") %></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
@ -34,9 +34,18 @@ videojs-vtt-thumbnails:
|
|||
version: 0.0.13
|
||||
shasum: d1e7d47f4ed80bb52f5fc4f4bad4bfc871f5970f
|
||||
|
||||
silvermine-videojs-quality-selector:
|
||||
version: 1.1.2
|
||||
shasum: 94033ff9ee52ba6da1263b97c9a74d5b3dfdf711
|
||||
# We're using iv-org's fork of videojs-quality-selector,
|
||||
# which isn't published on NPM, and doesn't have any
|
||||
# easy way of fetching the compiled variant.
|
||||
#
|
||||
|
||||
# silvermine-videojs-quality-selector:
|
||||
# version: 1.1.2
|
||||
# shasum: 94033ff9ee52ba6da1263b97c9a74d5b3dfdf711
|
||||
|
||||
|
||||
# Ditto. Although, this one does allow us to use git to fetch the compiled version.
|
||||
# However, it lacks versioning.
|
||||
|
||||
# videojs-youtube-annotations:
|
||||
# github: https://github.com/afrmtbl/videojs-youtube-annotations
|
||||
|
|
Loading…
Reference in a new issue