src/js/players/player.allocine.js
branchpopcorn-port
changeset 839 4357aac4eb19
parent 822 45083178c1d2
child 841 8da49ff273e0
--- a/src/js/players/player.allocine.js	Mon Mar 26 19:18:04 2012 +0200
+++ b/src/js/players/player.allocine.js	Wed Mar 28 17:37:49 2012 +0200
@@ -60,7 +60,7 @@
     }
 
     window.onReady = IriSP.wrap(this, this.ready);
-    //NOT CALLED window.onAllocineStateChange = IriSP.wrap(this, this.stateHandler);
+    window.onAllocineStateChange = IriSP.wrap(this, this.stateHandler);
     window.onTime = IriSP.wrap(this, this.progressHandler);
     
     var _videoUrl = (
@@ -102,7 +102,7 @@
 
 
 IriSP.PopcornReplacement.allocine.prototype.stateHandler = function(state) {
-    
+    console.log("stateHandler");
     switch(state) {
         case 1:
             this.callbacks.onPlay();