Just for testing purposes, I created the following code:
<div id="reo" class="reo">
<div class="container">
<div class="row">
<div class="col m-3 embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
<div class="col m-3 embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
<div class="col m-3 embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/zpOULjyy-n8?rel=0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
It's working correctly, but when I add a specific column size like col-sm-4
, the videos become too large and stack on top of each other instead of aligning in a row.
While everything else within the columns looks good, it's puzzling why assigning a size to the column affects the responsiveness of the embedded videos while not impacting other content inside the columns.