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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我最近也遇到了同样的问题。看起来 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.