I'm making a website that has a video on the cover. The problem is that the video is too loud, so I made the following resolution:
CSS Code
#video-container{
height:85vh;
overflow:hidden;
}
video{
width: 100%;
overflow:hidden;
}
HTML code:
<div id="video-container" class="row no-margin no-padding">
<video autoplay loop muted>
<source src="res/videos/video.mp4">
</video>
</div>
I do not want edges to be seen next to the Video, that is to say that it occupies the whole screen by the sides but that it does not have 100% of its height since it leaves the screen in such case. On the one hand a solution would be a video with a format that suits for it, but I do not have a video of those dimensions and I have to look for life.
The idea is to make something similar to this: link
I would also like to put a few letters above the video but I do not know how it is done.
EDIT:
I add one thing that I have forgotten and that's the way it works on large screens, but when you put it on a vertical mobile screen, the space under the video is too big, and that's why I need to change what I have done.