mirror of
https://github.com/iv-org/invidious.git
synced 2024-09-07 01:52:52 +00:00
Add 1.25 and 0.75 playback rates
This commit is contained in:
parent
a8c375fc95
commit
405e98f429
@ -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",
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user