malsup/cycle — Issue #72: IE video issue, video dissapear on sliding
Author: mriffault
Created: 2011-10-26 09:36:33+00:00
State: open

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.