From 9fb53465717df15de36c3129a3d974f2b50fd61b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s=20Rocha?= Date: Thu, 13 Sep 2012 11:26:52 -0400 Subject: [PATCH] Temporary fix to set the speed of video player to 1.0 regardless of previous state --- common/lib/xmodule/xmodule/js/src/video/display.coffee | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/common/lib/xmodule/xmodule/js/src/video/display.coffee b/common/lib/xmodule/xmodule/js/src/video/display.coffee index 3880091661..cc3ce5d8d1 100644 --- a/common/lib/xmodule/xmodule/js/src/video/display.coffee +++ b/common/lib/xmodule/xmodule/js/src/video/display.coffee @@ -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