mirror of
https://github.com/iv-org/invidious
synced 2024-11-09 01:10:27 +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 %>",
|
aspectRatio: "<%= aspect_ratio %>",
|
||||||
<% end %>
|
<% end %>
|
||||||
preload: "auto",
|
preload: "auto",
|
||||||
playbackRates: [0.5, 1, 1.5, 2],
|
playbackRates: [0.5, 0.75, 1.0, 1.25, 1.5, 2.0],
|
||||||
controlBar: {
|
controlBar: {
|
||||||
children: [
|
children: [
|
||||||
"playToggle",
|
"playToggle",
|
||||||
|
@ -41,7 +41,7 @@ function update_value(element) {
|
|||||||
<div class="pure-control-group">
|
<div class="pure-control-group">
|
||||||
<label for="speed"><%= translate(locale, "Default speed: ") %></label>
|
<label for="speed"><%= translate(locale, "Default speed: ") %></label>
|
||||||
<select name="speed" id="speed">
|
<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>
|
<option <% if preferences.speed == option %> selected <% end %>><%= option %></option>
|
||||||
<% end %>
|
<% end %>
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user