Hey guys.
I need some help with an item.
Kwicks takes an initial argument, click
or mouseover
for its event parameter, by default its mouseover.
in my index.php it looks like this
$('.kwicks').kwicks({
min : 10,
max : 480,
duration: 800,
easing: 'easeOutQuint',
sticky : true,
defaultKwick : 3,
event : 'mouseover',
});
I am using the new JW Player from longtail to try and combine some items, ie a user can flip through the kwicks when nothing is playing(on page loaded), as soon as a movie starts its onPlay
function I would like to trigger event : 'mouseover',
to become event : 'click',
jwplayer("player").setup({
autostart: true,
flashplayer: "player.swf",
skin: 'five/glow.zip',
controlbar: "bottom",
dock: true,
events: {
onPlay : function() {
/// code to go here
},
onPause : function() {
/// code to go here
},
onComplete: function() {
jwplayer().stop();
}
}
});
How would I achieve this?