Last active
August 19, 2017 15:44
-
-
Save alyssachanspace/ec85f68b061de876860d1461a3fa8014 to your computer and use it in GitHub Desktop.
Embed video responsively by using Bootstrap.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- 16:9 aspect ratio --> | |
<div class="embed-responsive embed-responsive-16by9"> | |
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/D6Ac5JpCHmI"></iframe> | |
</div> | |
<!-- 4:3 aspect ratio --> | |
<div class="embed-responsive embed-responsive-4by3"> | |
<iframe class="embed-responsive-item" src="https://www.youtube.com/embed/D6Ac5JpCHmI"></iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment