www_duniayetu/templates/shortcodes/youtube.html

8 lines
253 B
HTML
Raw Normal View History

2023-11-29 08:46:54 +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>