Add '1.75' playback speed

pull/643/head
Omar Roth 5 years ago
parent 1ae7b646b3
commit e8a56e0fea
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -322,6 +322,10 @@ input[type="search"]::-webkit-search-cancel-button {
order: 6; order: 6;
} }
.vjs-playback-rate > .vjs-menu {
width: 50px;
}
.vjs-control-bar { .vjs-control-bar {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

@ -1,7 +1,7 @@
var options = { var options = {
preload: 'auto', preload: 'auto',
liveui: true, liveui: true,
playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 2.0], playbackRates: [0.25, 0.5, 0.75, 1.0, 1.25, 1.5, 1.75, 2.0],
controlBar: { controlBar: {
children: [ children: [
'playToggle', 'playToggle',

@ -46,7 +46,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.25, 1.0, 0.75, 0.5, 0.25}.each do |option| %> <% {2.0, 1.75, 1.5, 1.25, 1.0, 0.75, 0.5, 0.25}.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…
Cancel
Save