开发者

Using Video with jQuery Cycle

It seems like many people have some issues once they start adding video into their jQuery Cycle slideshow, but the specific issue I am having I do not think has come up yet.

The problem is that whenever I insert a video in the slideshow, it displays fine the first time you view the slide, but if you look at the slide again (before refreshing) it is completely black.

Here is an example of the slideshow and the video is on the last slide (slide 5开发者_如何转开发).

Any thoughts on why this might be happening and how to correct it? And/or does anyone have some good examples of sites that use jQuery cycle and videos.

I'd love to take a look at their code to see if they are doing something that I am missing.


YouTube Videos take a second or two to initiate. When the css changes from display:none to display:block or similar. A fix for this would be to make a modification to the plugin or your own plugin which makes use of visibility:hidden and visibility:visible instead.

I have encountered your problem before when making a YouTube cycle, using the cycle plugin. I decided it didn't matter so much so I left it as it was.

Example Here: http://jsfiddle.net/blowsie/HMKTS/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜