From 58b5e97fc4310491d4301274d4895bbfca36ef0d Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 16 Jul 2018 11:57:52 -0500 Subject: [PATCH] Add speed and fix checked<% end %>> +
+ + +
+
- + <% ["hd720", "medium", "small"].each do |option| %> + + <% end %>
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 30ac00a1..afbb5658 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -91,6 +91,7 @@ var player = videojs('player', options, function() { <% if preferences %> player.volume(<%= preferences.volume.to_f / 100 %>); +player.playbackRate(<%= preferences.speed %>); <% end %> player.offset({ start: <%= video_start %>,