largura de ajuste de vídeo html5
video {
object-fit: cover;
}
Zealous Zebra
video {
object-fit: cover;
}
.videoContainer
{
position:absolute;
height:100%;
width:100%;
overflow: hidden;
}
.videoContainer video
{
min-width: 100%;
min-height: 100%;
}
<div class="videoContainer">
<video id="video" width="100%" height="auto" onclick="playPause();"></video>
</div>