mirror of
https://github.com/ParkerTenBroeck/ParkerTenBroeck.github.io.git
synced 2026-06-07 05:18:40 -04:00
17 lines
532 B
HTML
17 lines
532 B
HTML
<figure class="{% if class %} {{ class }} {% endif %}">
|
|
<video
|
|
{% if poster %} poster="{{ poster }}"{% endif %}
|
|
{% if loop | default(value=false) %} loop {% endif %}
|
|
{% if controls | default(value=true) %} controls {% endif %}
|
|
preload="metadata"
|
|
muted
|
|
{% if autoplay | default(value=false) %} autoplay {% endif %}
|
|
playsinline
|
|
>
|
|
<source src="{{ get_url(path=src) }}">
|
|
</video>
|
|
{% if caption != "" %}
|
|
<figcaption>{{ caption }}</figcaption>
|
|
{% endif %}
|
|
</figure>
|
|
|