Author: andre
Date: 2010-06-30 14:37:52 +0200 (Wed, 30 Jun 2010)
New Revision: 42760
Modified:
openimages/trunk/src/main/webapp/oiplayer/js/jquery.oiplayer.js
Log:
onStart is not really onStart in Flowplayer, this events is fired when the
player is ready (flowplayer bug?)
Modified: openimages/trunk/src/main/webapp/oiplayer/js/jquery.oiplayer.js
===================================================================
--- openimages/trunk/src/main/webapp/oiplayer/js/jquery.oiplayer.js
2010-06-30 12:15:01 UTC (rev 42759)
+++ openimages/trunk/src/main/webapp/oiplayer/js/jquery.oiplayer.js
2010-06-30 12:37:52 UTC (rev 42760)
@@ -176,6 +176,7 @@
/* Mainly user interface stuff on first start of playing */
function start(player) {
+ alert('0: start');
if (player.type == 'video') {
$(player.div).find('.preview').hide();
} else {
@@ -922,8 +923,8 @@
});
var clip = this.player.getCommonClip();
clip.onStart(function() {
- $(self.div).find('li.play').addClass('pause');
- self.state = 'play';
+ //$(self.div).find('li.play').addClass('pause');
+ //self.state = 'play';
});
clip.onPause(function() {
$(self.div).find('li.play').removeClass('pause');
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs