softinio.com/templates/shortcodes/youtube.html
Salar Rahmanian b10e834407
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci/woodpecker/pr/woodpecker Pipeline was successful
New refreshed blog for 2024 using Zola
2024-02-16 22:46:42 -08:00

4 lines
363 B
HTML

<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>