Adjust video

This commit is contained in:
Antonio J. Delgado 2024-08-03 23:11:34 +03:00
parent d75cc3e904
commit fbe512d549

View file

@ -59,7 +59,7 @@
{% if media['type'] == 'image' %} {% if media['type'] == 'image' %}
<IMG SRC="{{ media['preview_url'] }}" ALT="{{ media['description'] }}"> <IMG SRC="{{ media['preview_url'] }}" ALT="{{ media['description'] }}">
{% elif media['type'] == 'video' or media['type'] == 'gifv' %} {% elif media['type'] == 'video' or media['type'] == 'gifv' %}
<video controls width="100%"> <video controls height="50%">
<source src="{{ media['url'] }}" type="video/webm" /> <source src="{{ media['url'] }}" type="video/webm" />
<A HREF="{{ media['url'] }}">Download video</A> <A HREF="{{ media['url'] }}">Download video</A>
</video> </video>