Last active
August 22, 2016 14:58
-
-
Save millar/3b90fcfee46655a2361741039103ad70 to your computer and use it in GitHub Desktop.
Chew iframe embed code
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
<style> | |
#chew-embed { | |
width: 100%; | |
display: inline-block; | |
position: relative; | |
} | |
#chew-embed:after{ | |
padding-top: 56.25%; | |
display: block; | |
content: ""; | |
} | |
#chew-embed iframe{ | |
border: 0; | |
position: absolute; | |
top: 0; | |
bottom: 0; | |
right: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
} | |
</style> | |
<div id="chew-embed"> | |
<!-- {{ show.user.slug }} and {{ show.slug }} should be changed appropriately --> | |
<iframe src="//chew.tv/embed/{{ show.user.slug }}/{{ show.slug }}" allowfullscreen="true" scrolling="no"></iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment