<body class="video">
<video autoplay loop muted class="bgvideo" id="bgvideo">
<source src="video/background.mov" type="video/mov"></source>
</video>
</body>
.video {
background: url('video.png');
background-size: cover;
}
.bgvideo {
position: fixed;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -9999;
}