Facebook Safari OSX Youtube wmode 错误
我遇到了 Mac OSX 上 Safari 特有的问题,将 wmode 设置为透明并不能阻止 facebook 模态窗口或下拉列表与视频重叠。我们尝试了不透明、透明以及来自网络的一些其他黑客,但似乎无法解决 Safari 中的问题。任何人都可以帮助解决该问题或重现该问题吗?
iframe title="YouTube video player" width="520" height="290" src="http://www.youtube.com/embed/TP790i87rBc?wmode=transparent&rel=0" frameborder="0">
谢谢!
鲍勃
I'm having an issue that is specific to Safari on Mac OSX, where setting wmode to transparent is not preventing facebook modal windows, or drop downs from being overlapped by the video. We have tried opaque, transparent, and a handful of other hacks from around the net, but can not seem to resolve the issue in Safari. Can anyone help resolve the issue, or reproduce it?
iframe title="YouTube video player" width="520" height="290" src="http://www.youtube.com/embed/TP790i87rBc?wmode=transparent&rel=0" frameborder="0">
Thanks!
Bob
我最近也遇到了同样的问题。看起来 YouTube 也将其嵌入代码从
I recently had the same problem. It looks like YouTube has also changed its embed code from
<object>
to<iframe>
, yet neither of these worked for me. The solution for my project was to just use the<embed>
tag.