Works perfectly on all sizes in a desktop or notebook computer, but when i see it on a mobile it looks like the image.
.video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -100;
transform: translate(-50%, -50%);
}
<video controls autoplay muted loop id="myVideo">
<source src="img/Smartphone - 3180.webmsd.webm" type="video/webm">
</video>
In mobile instead of autoplaying it stays like that, the video is in webm format