Google Chrome,Flash和z-index错误的行为 [英] Google Chrome, Flash and z-index wrong behaviour
问题描述
Google Chrome浏览器正在错误显示Flash视频的z-index。
Google Chrome is displaying the z-index of a Flash video incorrectly.
查看 http://maxusglobal.com/ 在Firefox或Internet Explorer中。
Take a look at http://maxusglobal.com/ in Firefox or Internet Explorer.
现在在Chrome中查看它。
Now take a look at it in Chrome.
页面顶部的大视频应该有一个预览图像z-indexed在它的顶部。它在Firefox和Internet Explorer中,但不在Google Chrome中。
The big video at the top of the page should have a "preview" image z-indexed over the top of it. It does in Firefox and Internet Explorer, but not Google Chrome.
这似乎不是 WebKit 的东西,但特别是一个Chrome的错误。
This doesn't seem to be a WebKit thing, but specifically a Chrome bug.
我试过所有的wmodes,(opaque,window和transparent)这不解决它。我还更改了Flash框的z-index,但它仍然不工作。
I have tried all the wmodes, (opaque, window and transparent), but this doesn't fix it. I also changed the z-index of the Flash box, but it is still not working.
推荐答案
添加 wmode =transparent
到您的< embed>
标记。如下。
Add wmode="transparent"
to your <embed>
tag. Like the following.
<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如果没有必要。
And hide the div of the hello
image if that is not necessary.
我希望这有助于。
这篇关于Google Chrome,Flash和z-index错误的行为的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!