friendenstein/templates/shortcodes/youtube.html

9 lines
368 B
HTML
Raw Normal View History

2023-07-04 02:37:44 +02:00
<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>