cycle icon indicating copy to clipboard operation
cycle copied to clipboard

IE video issue, video disappear on sliding

Open mriffault opened this issue 14 years ago • 1 comments

I encountered a bug on slides that contains videos. I found where is the problem and proposes a solution, wich needs to evolve: I used the transition scrollHorz, and found that jquery.cycle hides (display: none) and shows (display: block) slides for each transition. This has the effect of making invisible Flash videos in IE (7 and 8 i think) at each transition. As these successive css "display" is not useful for the transition scrollHorz, I coment the following lines:

https://github.com/malsup/cycle/blob/master/jquery.cycle.all.js#L919 https://github.com/malsup/cycle/blob/master/jquery.cycle.all.js#L922 https://github.com/malsup/cycle/blob/master/jquery.cycle.all.js#L928

And have to add this lines in my CSS :

.views_slideshow_singleframe_hidden {
    display: block;
}

I think that jquery.cycle should take care about videos if the transition effect permits it.

mriffault avatar Oct 26 '11 09:10 mriffault

Add a note to this because line numbers have changed now. To resolve this issue, you have to comment inside $.fn.cycle.commonReset : $(opts.elements).not(curr).hide(); opts.cssBefore.display = 'block'; opts.cssAfter.display = 'none';

mriffault avatar Dec 16 '11 14:12 mriffault