I have embeded a youtube video on my page under the navigation menu. The drop down menu is falling behind the video.
I have tried the wmode="transparent" and it isnt resolving my issue. I have tried &wmode=transparent & ?wmode=transparent behind the youtube link also with no success.
I would appreciate your advice.
My Html code is:
<div class="video-container2">
<iframe width="560" height="315" src="https://www.youtube.com/embed/Fr7Haxh4Si0" wmode="transparent" frameborder="0" allowfullscreen></iframe>
</div>
My CSS is:
.video-container2 {
position: relative;
padding-bottom: 56.25%;
padding-top: 20px;
height: 0;
overflow: hidden;
}
.video-container2 iframe,
.video-container2 object,
.video-container2 embed {
position: absolute;
top: 0;
left: 0;
width: 90%;
height: 50%;
margin-left: 0px;
margin-bottom: 5px;
}