newblog/templates/shortcodes/youtube.html

4 lines
363 B
HTML
Raw Permalink Normal View History

2024-07-01 15:20:09 +02:00
<div class="yv{% if class %} {{class}}{% endif %}">
<iframe src="https://www.youtube{% if not cookie %}-nocookie{% endif %}.com/embed/{{id}}{% if playlist %}?list={{playlist}}{% endif %}{% if autoplay %}?autoplay=1{% endif %}" title="{{title | default(value='Youtube') }}" class="yvi" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>