I can't seem to figure out how to capture events with FlowPlayer. I'm loading the scripts from the CDN. Below is what I've attempted to try to catch the onFinish event, but no luck. Any help would be greatly appreciated.
<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//releases.flowplayer.org/5.4.3/flowplayer.min.js"></script>
<link rel="stylesheet" href="//releases.flowplayer.org/5.4.3/skin/minimalist.css">
<script>
flowplayer("flowplayer", "video.flv", {
onFinish: function () {
alert("Click Player to start video again");
}
});
</script>
<title>FlowPlayer Test</title>
</head>
<body>
<div class="flowplayer">
<video>
<source type="video/flv" src="video.flv">
</video>
</div>
</body>
</html>