www_duniayetu/templates/shortcodes/youtube.html

8 lines
253 B
HTML
Raw Permalink Normal View History

2023-12-15 20:12:07 +00:00
<div {% if class %}class="{{class}}"{% endif %}>
<iframe
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
</div>