Any ideas what might be causing this behavior? The function in the code is below:
onCuepoint: [[1000], function() {
$f().pause();
}]
onCuepoint: [[1000], function() {
$f().pause();
}]
var cueCount = 0;
onCuepoint: [[2500], function() {
cueCount = cueCount + 1;
if (cueCount== 1) {
$f().pause();
}
}],
<!-- include latest Flowplayer javascript file -->
<script language="javascript" src="path/to/flowplayer-3.2.6.js"></script>
<!-- player container with optional splash image -->
<a href="path/to/video_file" id="playerContainer">
<img src="path/to/splash_image" />
</a>
Following script will install Flowplayer into our player container
<script language="javascript">
// our custom configuration is given in third argument
flowplayer("playerContainer", "path/tohttp://releases.flowplayer.org/swf/flowplayer-3.2.7.swf",{
clip: {
onCuepoint: [[2500], function () {
this.pause();
}]
}
});
</script>
current_time = $f().getTime();
new_time = Math.ceil(current_time) + 1;
$f().seek(new_time);
onPause: function(){
pauseTimeStamp = this.getTime();
}
onCuepoint: [
[**whatever your cuepoints are**],
function(clip, cuepoint) {
if(typeof pauseTimeStamp == 'undefined' || cuepoint != (pauseTimeStamp * 1000)){
this.pause();
}
}
]