site/layouts/shortcodes/youtube.html

4 lines
279 B
HTML
Raw Permalink Normal View History

2019-08-13 21:13:44 +02:00
<div style="position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom: 2em;">
<iframe style="position: absolute; width: 100%; height: 100%; top: 0; left: 0;" src="https://www.youtube-nocookie.com/embed/{{ .Get 0 }}?rel=0&showinfo=0" allowfullscreen></iframe>
</div>