我有一个flowplayer
我正在使用它,下面有几张图片。当您点击这些图片时dialog
是用这些图片的放大版本创建的。问题是flowplayer
永远会在最上面dialog
.
我尝试过设置z-index
of the dialog
高和flowplayer
低,但是不起作用。
有没有方法在flowplayer
这将降低其z-index
或允许我的dialog
放在它上面?
Edit这是流程播放器:
//Uses flowplayer to create player
$f('#rightVideoContent', "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", {
//Creates a single clip for the flow player
clip: {
url: videoLocation,
autoPlay: true,
autoBuffering: true
},
plugins: {
controls: null
},
onLoad: function () {
//Do nothing here
}
});
这是div
<div id = "rightVideoContent" class = "VideoDiv"></div>
I use flowplayer-3.2.6.js
as well
我认为你错过的是:
<param name="wmode" value="transparent" />
有关 wmode 的更多信息 https://stackoverflow.com/questions/886864/differences-between-using-wmode-transparent-opaque-or-window-for-an-embed
edit:看看你的代码......要嵌入一个 swf 文件,你必须有类似的东西:
<object width="550" height="400">
<param name="movie" value="somefilename.swf" />
<embed src="somefilename.swf" width="550" height="400"></embed>
</object>
您所需要做的就是添加另一个<param ...
在第一个之后
edit2:你应该替换第二个参数...而不是放在那里的 url 字符串
{src: 'http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf', wmode: 'transparent'}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)