Created
December 13, 2011 11:58
-
-
Save razielgn/1471879 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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