I'm trying to create a responsive video background that sits below my header (so not entirely fullscreen)
My problem is that I can't manage to figure out the CSS required to have it fill the space, maintain resolution, and resize (without creating gaps) on smaller screens.
Here is a link of the exact effect I'm looking for. http://www.matthewemvintaylor.co.uk/
Please note I do not want to use Video.JS or BigVid.JS as I'm doing lots of ajax stuff with the video source and don't want to have to figure out how to make them all work together.
Here is my html
<header>
<div class="navigation">
title
</div>
</header>
<div class="content">
<div class="video-wrapper">
<video id="video-element" autoplay loop>
</video>
</div>
</div>
Here is my CSS
.navigation {
min-height: 100px;
}
Thanks!