rf-web/_includes/embeds/youtube.html

1 line
405 B
HTML
Raw Normal View History

2020-08-31 11:45:05 +00:00
<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='https://www.youtube.com/embed/{{ include.slug }}' frameborder='0' allowfullscreen></iframe></div>