I am using Bootstrap to embed a responsive-embed Yotube video inside a responsive-image of a monitor. This works fine on my desktop, but on specific resolutions (anything between 787x1000 and 995x1139) the video doesn't display correctly over the image. Is there any way to overcome this?
Here's a sample of my work on JsFiddle:
http://jsfiddle.net/t6jr6bzc/1/
Here's my code:
<div class="container-fluid" id="primapagina">
<div class="row" style="width: 100%;">
<div class="col-md-7">
<img src="https://googledrive.com/host/0B55_4P6vMjhITlB1VzJCZnRBUGc/monitor.png" class="img-responsive">
<div id="video">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="http://www.youtube.com/embed/ldxJMRrQxEA"></iframe>
</div>
</div>
And the CSS:
#video{
width: 85%;
margin-top: -69%;
margin-left: 7.5%;
}