This is a message.

Forum user: muckwarrior

Basic information

Registered Nov 28, 2008
Last login Dec 1, 2008
Forum posts 4
Direct URL http://www.flowplayer.org/forum/users/6602

Latest forum posts

Posts:

Registered:

» » » » autoBuffering -> onStart issue

Posted: Dec 1, 2008

Much appreciated.

Posts:

Registered:

» » autoBuffering -> onStart issue

Posted: Dec 1, 2008

In fact, curiously, the alert pops up twice when autoBuffering is on (when the page loads), but doesn't pop up at all when the play button is pressed.

Posts:

Registered:

» » autoBuffering -> onStart issue

Posted: Dec 1, 2008

Indeed I have, this is my code...


flowplayer("player", "/VideoplayerResources/flowplayer-3.0.0.swf",  { 
    clip:{ 
        url: '/test.flv', 
         
        autoPlay: false,  
        autoBuffering: true,
        onStart: function(){
			alert("started");
		}  
     }
}); 
...which will result in an alert when the page loads. However if I leave out the 'autoBuffering:true' the alert doesn't happen till I click play.

Posts:

Registered:

autoBuffering -> onStart issue

Posted: Nov 28, 2008

I need to perform an action when a user plays a video (onStart I assume?) and I also want to autoBuffer my video. The problem is that the autoBuffering seems to call the onstart event which means that my action is being called when the player loads instead of when the user clicks play. Is there a way I can use these two features together?