rf-web/_includes/embeds/youtube.html
2020-08-31 13:45:05 +02:00

1 line
405 B
HTML

<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>