forked from midou/invidious
		
	Add '1.75' playback speed
This commit is contained in:
		@@ -322,6 +322,10 @@ input[type="search"]::-webkit-search-cancel-button {
 | 
			
		||||
  order: 6;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.vjs-playback-rate > .vjs-menu {
 | 
			
		||||
  width: 50px;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.vjs-control-bar {
 | 
			
		||||
  display: flex;
 | 
			
		||||
  flex-direction: row;
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
var options = {
 | 
			
		||||
    preload: 'auto',
 | 
			
		||||
    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: {
 | 
			
		||||
        children: [
 | 
			
		||||
            'playToggle',
 | 
			
		||||
 
 | 
			
		||||
@@ -46,7 +46,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.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>
 | 
			
		||||
                    <% end %>
 | 
			
		||||
                </select>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user