zola-inky-fork/templates/shortcodes/youtube.html

7 lines
242 B
HTML
Raw Normal View History

2023-02-01 17:58:59 +00:00
<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>