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