fixed bug in dailymotion player. popcorn-port
authorhamidouk
Thu, 09 Feb 2012 11:06:10 +0100
branchpopcorn-port
changeset 792 f6c58ac994db
parent 791 f1d90a404de4
child 793 6ff51024d2db
child 794 9dfb3a204a68
fixed bug in dailymotion player.
src/js/players/player.dailymotion.js
--- a/src/js/players/player.dailymotion.js	Thu Feb 09 11:02:11 2012 +0100
+++ b/src/js/players/player.dailymotion.js	Thu Feb 09 11:06:10 2012 +0100
@@ -86,6 +86,8 @@
     this.player.addEventListener("onStateChange", "onDailymotionStateChange");
     this.player.addEventListener("onVideoProgress", "onDailymotionVideoProgress");
     this.player.cueVideoByUrl(this._options.video);
+    
+    this.callbacks.onReady();
 };
 
 IriSP.PopcornReplacement.dailymotion.prototype.progressHandler = function(progressInfo) {
@@ -112,9 +114,11 @@
             });
             break;
 
+        /*
         case 5:
             this.callbacks.onReady();
             break;
+        */
     }
     
 };
\ No newline at end of file