I am having an issue with pausing the cycle from links within the
cycle.
I have set up a cycle that contains a html contentent including a
'video playlist'. This is a javascript based list that updates a flash
video player with a new video inside the cycle. The videos are loading
fine, but for some reason when i call the cycle 'pause', it dosent
work?
i have testing the $('#feature').cycle('pause'); from a link outside
the cycle and that seems to be working, but it seems to be from the
links inside the cycle content.
here is the code i am using (i have made a custom crossfade
transition)
function feature() {
$('#featuretitle').hide();
$('#feature').after(
'<div id="featurenav"></div>'
).cycle({
fx: 'crossfade',
pause: 1,
speed: 1000,
timeout: 8000,
cleartype: 1,
pager: '#featurenav'
});
}
function videoList(){
$('a.vidlink').click(function(){
var vidLink = $(this).attr('rel');
player.sendEvent('STOP');
player.sendEvent('LOAD',vidLink);
player.sendEvent('PLAY');
$('#feature').cycle('pause');
});
}