diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-07-14 10:08:46 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-07-14 10:13:40 -0500 |
| commit | e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6 (patch) | |
| tree | 9fcc66ea841f54c9a51bbf2ee86ad75bca10f1ac | |
| parent | 1ae7b646b389496664620184babfa3f9671eb1e6 (diff) | |
| download | invidious-e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6.tar.gz invidious-e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6.tar.bz2 invidious-e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6.zip | |
Add '1.75' playback speed
| -rw-r--r-- | assets/css/default.css | 4 | ||||
| -rw-r--r-- | assets/js/player.js | 2 | ||||
| -rw-r--r-- | src/invidious/views/preferences.ecr | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/assets/css/default.css b/assets/css/default.css index 46f1d58f..3d27f26b 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -322,6 +322,10 @@ input[type="search"]::-webkit-search-cancel-button { order: 6; } +.vjs-playback-rate > .vjs-menu { + width: 50px; +} + .vjs-control-bar { display: flex; flex-direction: row; diff --git a/assets/js/player.js b/assets/js/player.js index 8d18ea82..25cbb18b 100644 --- a/assets/js/player.js +++ b/assets/js/player.js @@ -1,7 +1,7 @@ var options = { preload: 'auto', liveui: true, - playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 2.0], + playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0], controlBar: { children: [ 'playToggle', diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index 2a1c43f2..1d1c2d0e 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -46,7 +46,7 @@ function update_value(element) { <div class="pure-control-group"> <label for="speed"><%= translate(locale, "Default speed: ") %></label> <select name="speed" id="speed"> - <% {2.0, 1.5, 1.25, 1.0, 0.75, 0.5, 0.25}.each do |option| %> + <% {2.0, 1.75, 1.5, 1.25, 1.0, 0.75, 0.5, 0.25}.each do |option| %> <option <% if preferences.speed == option %> selected <% end %>><%= option %></option> <% end %> </select> |
