Google Chrome 无法正确显示 Flash 视频的 z-index。
看看http://maxusglobal.com/在 Firefox 或 Internet Explorer 中。
现在在 Chrome 中查看它。
页面顶部的大视频应该在其顶部有一个“预览”图像的 z 索引。它适用于 Firefox 和 Internet Explorer,但不适用于 Google Chrome。
这似乎不是 WebKit东西,但特别是 Chrome 错误。
我已经尝试了所有的 wmodes(不透明、窗口和透明),但这并不能解决问题。我也改了Flash盒子的z-index,还是不行。
最佳答案
添加wmode="transparent"
给你的<embed>
标签。像下面这样。
<embed wmode="transparent"
height="314" width="516"
type="application/x-shockwave-flash"
id="player"
name="page_player"
src="/swfs/player.swf"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=/attachments/files/u_t_o_N_1.mp4">
并隐藏hello
的div图片(如果不需要)。
希望对您有所帮助!
关于css - Google Chrome、Flash 和 z-index 错误行为,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4313364/