I need to display image and video side by side in my web page. Below code works Fine except the alignment. The horizontal-center alignment is fine where as the video and images are not centered vertically, how can I solve it.
<div class="container-fluid text-center" style="padding-top:100px;">
<div class="row" >
<div class="col-md-6 " style="background-color:#000;min-height:700px;">
<video id="video_id" width="100%" height="100%" controls="controls" align="middle" >
<source src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/ogg">
Your browser does not support the video tag.
</video>
</div>
<div class="col-md-6 vcenter" style="background-color:#999;min-height:700px;">
<img id ="detected_id" src="assets/images/src.jpg" width="100%" height="100%"> </img>
</div>
</div>
</div>
I tried the solution here vertical-align with Bootstrap 3 but not working.