Add 1.25 and 0.75 playback rates

pull/410/head
Omar Roth 2019-03-16 09:17:57 -05:00
rodzic a8c375fc95
commit 405e98f429
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -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",

Wyświetl plik

@ -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>