softinio.com/templates/shortcodes/youtube.html

4 lines
363 B
HTML
Raw Permalink Normal View History

2024-02-10 18:04:44 -08: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>