Commit bee1c50d by kimth

Merge pull request #678 from MITx/rocha/hotfixes

Temporary fix to set the speed of video player to 1.0
parents 7f67e9a0 9fb53465
......@@ -33,11 +33,7 @@ class @Video
@speeds = ($.map @videos, (url, speed) -> speed).sort()
setSpeed: (newSpeed) ->
if @videos[newSpeed] != undefined
@speed = newSpeed
$.cookie('video_speed', "#{newSpeed}", expires: 3650, path: '/')
else
@speed = '1.0'
@speed = '1.0'
embed: ->
@player = new VideoPlayer video: this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment