I attempted to fix the issue by adjusting the video width and height, but I still couldn't achieve full visibility. For example, my video is 1920X1080 but my window size is only 1366x768, causing a mismatch.
Furthermore, I tried setting the width as auto and the height as 100%, which allowed me to see the entire video but left empty spaces on both sides of the video. I need a solution that eliminates these spaces.
<video width="100%" height="100%" autoplay muted>
<source src="img/xxxxx.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
CSS
html,body{overflow:hidden;}
.general video { height: auto; width: 100%; position: absolute; top:0;}
-thank you