Skip to content

Instantly share code, notes, and snippets.

@alyssachk
Last active September 24, 2016 16:52
Show Gist options
  • Save alyssachk/da34845345fc1eca1478850b3ba6faec to your computer and use it in GitHub Desktop.
Save alyssachk/da34845345fc1eca1478850b3ba6faec to your computer and use it in GitHub Desktop.
Embed responsive video by editing HTML file only.
<p style="position: relative; padding-bottom: 56.25%; padding-top: 25px; height: 0;">
<iframe style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; border: 0 none;"
src="http://www.youtube.com/embed/D6Ac5JpCHmI" allowfullscreen></iframe></p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment