mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-14 03:18:02 +00:00
13 lines
421 B
HTML
13 lines
421 B
HTML
{% if poster %}
|
|
{% else %}
|
|
{% set poster = "jpg" %}
|
|
{% endif %}
|
|
{% if preload %}
|
|
{% else %}
|
|
{% set preload = "none" %}
|
|
{% endif %}
|
|
|
|
<figure class="text-center">
|
|
<video controls preload="{{ preload }}" src="{{ config.base_url }}/{{ video }}" poster="{{ config.base_url }}/{{ video }}.{{ poster }}" style="max-height: {{ height }}px" aria-label="{{ alt }}"></video>
|
|
<figcaption>{{ caption }}</figcaption>
|
|
</figure>
|