anemone/templates/shortcodes/youtube.html
2023-07-04 01:37:44 +01:00

9 lines
No EOL
368 B
HTML

<div {% if class %}class="{{class}}"{% endif %}>
<iframe
src="https://www.youtube-nocookie.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
</div>