zola-inky-fork/templates/shortcodes/youtube.html
2023-02-01 17:58:59 +00:00

7 lines
No EOL
242 B
HTML

<div class="youtube{% if class %} {{class}}{% endif %}">
<iframe src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
</div>