diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-16 09:17:57 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-16 09:17:57 -0500 |
| commit | 405e98f4294cb4b730ff4cff74e8764337111f91 (patch) | |
| tree | d08c2114a5db74f4aaa395a209598c0669f41487 | |
| parent | a8c375fc95eac84e0b0b4aeefceb459176de3f21 (diff) | |
| download | invidious-405e98f4294cb4b730ff4cff74e8764337111f91.tar.gz invidious-405e98f4294cb4b730ff4cff74e8764337111f91.tar.bz2 invidious-405e98f4294cb4b730ff4cff74e8764337111f91.zip | |
Add 1.25 and 0.75 playback rates
| -rw-r--r-- | src/invidious/views/components/player.ecr | 2 | ||||
| -rw-r--r-- | src/invidious/views/preferences.ecr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/components/player.ecr b/src/invidious/views/components/player.ecr index 6012abfb..7bcb5e42 100644 --- a/src/invidious/views/components/player.ecr +++ b/src/invidious/views/components/player.ecr @@ -44,7 +44,7 @@ var options = { aspectRatio: "<%= aspect_ratio %>", <% end %> preload: "auto", - playbackRates: [0.5, 1, 1.5, 2], + playbackRates: [0.5, 0.75, 1.0, 1.25, 1.5, 2.0], controlBar: { children: [ "playToggle", diff --git a/src/invidious/views/preferences.ecr b/src/invidious/views/preferences.ecr index d26b2179..6a63adca 100644 --- a/src/invidious/views/preferences.ecr +++ b/src/invidious/views/preferences.ecr @@ -41,7 +41,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.0, 0.5}.each do |option| %> + <% {2.0, 1.5, 1.25, 1.0, 0.75, 0.5}.each do |option| %> <option <% if preferences.speed == option %> selected <% end %>><%= option %></option> <% end %> </select> |
