Trying to position a video ads div on top of an image within a Bootstrap 3 container. The challenge is making sure the video stays responsive and resizes along with the image across different screen resolutions. Attempted to place the video within the Bootstrap container but encountered issues with proper alignment.
Check out the Codepen example: https://codepen.io/anon/pen/byGYqV
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<div id="container">
<video id='video' controls="controls" preload='none' poster="http://media.w3.org/2010/05/sintel/poster.png">
<source id='mp4' src="http://media.w3.org/2010/05/sintel/trailer.mp4" type='video/mp4'>
<source id='webm' src="http://media.w3.org/2010/05/sintel/trailer.webm" type='video/webm'>
<source id='ogv' src="http://media.w3.org/2010/05/sintel/trailer.ogv" type='video/ogg'>
</video>
</div> <!-- End Normal Container -->
<div class="container-fluid">
<div class="row main-player">
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<img alt="" src="https://mitofago.com.mx/sites/default/files/styles/660x320/public/0029399560.jpg" class="img-slider img-responsive">
</div>
</div>
</div> <!-- End Boostrap Container -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
Appreciate any help with this issue!