fixed bug in dailymotion player.
--- 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