Skip to content

Instantly share code, notes, and snippets.

@razielgn
Created December 13, 2011 11:58
Show Gist options
  • Save razielgn/1471879 to your computer and use it in GitHub Desktop.
Save razielgn/1471879 to your computer and use it in GitHub Desktop.
flowplayer("player",
{
allowfullscreen: false,
src: "../flowplayer-3.2.7.swf",
wmode: 'opaque'
},
{
clip: {
onBeforeSeek: function (clip, target) {
console.log("BABABA");
return false;
},
onCuepoint: [
// each integer represents milliseconds in the timeline
[4000, 1100, 3600, -2300],
// this function is triggered when a cuepoint is reached
function(clip, cuepoint) {
$("div#a").css('display', 'block');
// console.log("cuepoint " + cuepoint + " entered on clip " + clip.url);
}
]
},
plugins: {
controls: {
fullscreen: false
}
},
onBeforeFullScreen: function (clip) {
return false;
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment