Flowplayer · Cuepoints

cuepoint.time:  

<head/>

<script>

$(function() {
flowplayer().on("cuepoint", function (e, api, cuepoint) {
if (cuepoint.time == 0.5) api.speed( .75 );
$("#cue").text(cuepoint.time);
});
});

JavaScript

<body/>

<div data-cuepoints="[0.5, 0.8, 1.2, 1.5, 1.8, 2.2]"
data-rtmp="rtmp://s3b78u0kbtx79q.cloudfront.net/cfx/st"
data-ratio="0.4167" class="flowplayer">
 
<video>
<source type="video/webm" src="//edge.flowplayer.org/functional.webm">
<source type="video/mp4" src="//edge.flowplayer.org/functional.mp4">
<source src="mp4:functional" type="video/flash">
</video>
</div>
 
<!-- for demo purposes -->
<p class="info">cuepoint.time: <span id="cue">&nbsp;</span></p>

HTML