Skip to Main Content

Embed & Link Video Content

Full-Width Responsive Code

The code below will cause your video to fill the entire LibGuides content box, and will respond appropriately for different screen sizes.
**Replace the red elements with your video link and title.


<div style="position: relative; padding-bottom: 56.25%; height: 0;">
<iframe style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;" allowfullscreen="" frameborder="0" src="https://www.youtube.com/embed/dQw4w9WgXcQ" title="Add Your Video Title Here"></iframe>
</div>


Result of code above: