I'm designing a full-screen responsive website with videos and images. That means that the website is never bigger than your screen size. I'm using Bootstrap 3 to design it; I have had no problems with the images, but I'm having a lot of trouble with the video. I'm using Bootstrap's standard responsive video embed:
<div class="col-sm-12 col-md-12 col-full-parent">
<div class="embed-responsive embed-responsive-16by9">
<iframe src="http://www.youtube.com/embed/..."></iframe>
</div>
</div>
The problem is, it resizes if you change the width, but not if you change the height.
Any ideas about how I can solve this?
Edit: The parent col container is the max height and width it should ever be, but it doesnt fit it.
embed-responsive-16by9is to maintain a 16:9 aspect ratio for the embedded video. Do you get the result you're looking for if you remove that class? - VLSembed-responsiveto whatever it needs to be (it's 0 by default). - VLSembed-responsive-16by9keeps the ratio using padding and not height. - Noel Algora Igual