Much appreciated.
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
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.
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.
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?