I successfully achieved my main goal, which was to have a background video at the top of my page. However, I am facing an issue with making the video responsive. Currently, as I decrease the screen size, the video shrinks in both width and height rather than increasing in height. I just want the width to get smaller while the height increases.
Here is an example:
Current behavior:
https://i.stack.imgur.com/XjQxz.png
What I need: https://i.stack.imgur.com/d0a9x.png
My HTML code:
<section class="custom content_section bg_fixed white_section bg2">
<div class="embed-responsive embed-responsive-16by9">
<div id="video_overlays"></div>
<div class="container vertical-center">
<div id="over">
<div class="title-wrapper main_title centered upper">
<h2 id="video_title"><span class="line"></span>VIDEO TITLE</h2>
</div>
<div class="description4 centered">
<p id="video_sub_title"><b>LOREM IPSUM A SIMPLE DESCRIPTION<br>
Usability and simple deployment are the key words.</b></p>
</div>
</div>
</div>
<div id="player" width="100%" height="100%" style="z-index:-1">
</div>
</div>
</section>