From e8a56e0fea8364d62f3113f4c6d0074ef47ec0d6 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 14 Jul 2019 10:08:46 -0500 Subject: [PATCH] Add '1.75' playback speed --- assets/css/default.css | 4 ++++ assets/js/player.js | 2 +- 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 46f1d58fc..3d27f26bc 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 8d18ea825..25cbb18b3 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 2a1c43f2f..1d1c2d0ef 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -46,7 +46,7 @@ function update_value(element) {