flowplayer bind function for play completion check

by Prakash 2013-07-16 16:06:47

The following code check whether a flowplayer video has completed playing. Here we bind the finish event to the flowplayer api .



flowplayer(function (api, root) {
api.bind("load", function () {
// do something when a new video is about to be loaded
}).bind("finish", function () {
// do something when a video is loaded and ready to play
alert('video play completed');
});
});

1122
like
0
dislike
0
mail
flag

You must LOGIN to add comments