Add speed and fix <select> options

This commit is contained in:
Omar Roth
2018-07-16 11:57:52 -05:00
parent 96c520b02b
commit 58b5e97fc4
4 changed files with 20 additions and 4 deletions

View File

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