1/* Video */ 2 3body .video { 4 width: 100%; 5 position: relative; 6 height: 0; 7 padding-bottom: 56.25%; 8 &.twitch, &.youtube.show_controls { 9 padding-top: 30px; 10 // Use .show_controls f you want the play/pause controls 11 // to show before the video plays, like on older youtube. 12 } 13 &.youtube, &.vimeo { 14 // Nothing goes here anymore. Both use overlay transports. 15 } 16} 17 18.video > video, .video > iframe, .video > object, .video > embed { 19 position: absolute; 20 top: 0; 21 left: 0; 22 width: 100%; 23 height: 100%; 24} 25