Last active
July 15, 2017 00:29
-
-
Save asimoesmcartor/e5ef1601641974c2c4897eba80be1b96 to your computer and use it in GitHub Desktop.
This is a gist used to add an autoplay responsive video onto your page.
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
<div class="video-wrapper" style="padding-bottom: 25px;"> | |
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style> | |
<div class="embed-container"> | |
<iframe src="PLACE SOURCE OF EMBED VIDEO HERE" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment