jQuery,您可以淡入淡出吗? [英] jquery can you fadeIn a video
本文介绍了jQuery,您可以淡入淡出吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在vid.html中有一个flv文件,可以正常工作, 但是有什么办法让视频本身淡入/淡出吗?
I have a flv file inside the vid.html which is working fine, but is there any way to have the video itself to fadeIn/fadeOut?
<div id="fadeit">
<div class="video"></div>
</div>
这不起作用;
$('.video').hide().fadeIn().load('vid.html');
将其包装在div中并使其褪色也不起作用;
wrapping it in a div and fading the div does not work either;
$('#fadeit').hide().fadeIn(1400);
推荐答案
没有wmode或wmode透明:FF,Chrome和Safari
no wmode or wmode transparent: FF, Chrome and Safari
wmode不透明,FF,Chrome,Safari和IE8(仅要测试ie8)
wmode opaque, FF, Chrome, Safari and IE8 (only have ie8 to test)
淡入淡出闪光和div叠加.
Both fade flash and div overlay.
这篇关于jQuery,您可以淡入淡出吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文