mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add 1.25 and 0.75 playback rates
This commit is contained in:
parent
a8c375fc95
commit
405e98f429
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue