Z-Index 和 YouTube 视频......重叠的内容困惑 [英] Z-Index and YouTube Videos ... Overlapping Content Quandry
问题描述
我查看了有关堆栈溢出中 z-index 问题的其他问题,但我并没有完全理解在 youtube URL 的 URL 末尾添加信息的概念......我不知道从哪里开始添加 wmode 或为什么我要添加...我只是希望它们不要流过页面顶部的导航...有人可以为我的 youtube 视频推荐一个修复程序,因为我在我的网站上广泛使用嵌入的 youtube 视频并具有 z-索引问题看起来很业余,如果可能的话,我宁愿让我的视频在我的导航栏下方运行.我尝试设置一个 div 并删除 z-index,但我要么做错了,要么这不是一个明确的解决方案.将不胜感激,我遇到问题的 URL 位于 ...http://www.nicholaslawson.com/youtube.com ...感谢您抽出宝贵时间.
I looked at other questions regarding z-index issues in stack overflow and I was not completely understanding the concept of adding information to the end of the URL of the youtube URL ... I couldnt figure out where to begin adding wmode or why I would add that ... i just want them to NOT flow over my navigation at the top of the page ... could someone recommend a fix for my youtube videos as I use embedded youtube videos extensively on my website and having z-index issues looks amateurish and I would rather have my videos running below my nav bars if that is at all posssible. I tried setting a div and dropping the z-index but I either did it wrong or that is not a definitive fix. Help would be appreciated the URL that I am having issue with is at ... http://www.nicholaslawson.com/youtube.com ... thank you for your time.
推荐答案
这是一个非常简单的修复.但补充:?wmode=opaque
到网址的末尾.例如:
It's a very simple fix.
But add:
?wmode=opaque
to the end of the url. for instance:
http://youtube.com/embed/IdG0e5h3re
会变成
http://youtube.com/embed/IdG0e5h3re?wmode=opaque
我不久前也遇到了同样的问题!
i had the same issue a while ago!
这篇关于Z-Index 和 YouTube 视频......重叠的内容困惑的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!