does anybody know why the video html tag isn't covering 100% height in safari and firefox ? It works in chrome and edge. I need the video to cover 100% height of it's parent element, hope someone can help.
body {
margin: 0;
}
.clearfix {
overflow: auto;
}
.video_content {
display: flex;
flex-direction: column;
justify-content: center;
z-index: 10;
position: relative;
align-items: center;
color: #fff;
height: 1440px;
background-color: rgba(32, 32, 177, 0.55);
text-align: center;
}
.video {
width: 100%;
position: fixed;
height: auto;
z-index: 0;
}
<div class="section">
<video class="video" muted="" loop="" autoplay="" playsinline style="">
<source src="https://www.w3schools.com/howto/rain.mp4" type="video/mp4">
</video>
<div class="video_content">
<h1>HELLO WORLD</h1>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dumm</p>
</div>
</div>