Working on YouTube playback

This commit is contained in:
Sam Potts
2015-04-15 23:50:03 +10:00
parent d04b278802
commit 3d1a586314
5 changed files with 101 additions and 17 deletions

View File

@ -147,6 +147,21 @@
vertical-align: middle;
}
// For embeds
&-video-embed {
padding-bottom: 56.25%; /* 16:9 */
height: 0;
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
}
// Captions
&-captions {
display: none;