Robert "Bob" Smith
Bob originally created this guide. The goal was to assist librarians in utilizing Bootstrap within LibGuides.
As of Feb. 2nd, 2024, Bob has left the employ of West Texas A&M University.
Responsive embeds automatically adjust to the containing element.
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" title="How to paraphrase" src="https://www.youtube.com/embed/oTsE-LRSo_M" allowfullscreen></iframe>
</div>
div to contain the embeddiv
embed-responsiveembed-responsive-16by9 or embed-responsive-4by3 depending on the aspect ratio of the contentembed-responsive-item to the iframe, video, etc.That's it. You know have an embed that adjusts it's size based on the containing element.
For further information and options concerning responsive embeds, please see the following website: