Merge pull request #678 from MITx/rocha/hotfixes

Temporary fix to set the speed of video player to 1.0
This commit is contained in:
kimth
2012-09-13 08:29:35 -07:00

View File

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