src/js/players/player.allocine.js
branchnew-model
changeset 884 10233337f6da
parent 866 3bf7aa8216e5
child 919 972099304059
--- a/src/js/players/player.allocine.js	Fri May 04 16:56:41 2012 +0200
+++ b/src/js/players/player.allocine.js	Mon May 07 15:25:52 2012 +0200
@@ -32,9 +32,15 @@
         }
     }
 
-    window.onReady = IriSP.wrap(this, this.ready);
-    window.onAllocineStateChange = IriSP.wrap(this, this.stateHandler);
-    window.onTime = IriSP.wrap(this, this.progressHandler);
+    window.onReady = function() {
+        _this.ready();
+    };
+    window.onAllocineStateChange = function(_state) {
+        _this.stateHandler(_state)
+    }
+    window.onTime = function(_progress) {
+        _this.progressHandler(_progress)
+    };
     
     var _flashVars = {
         "streamFMS" : true,