Resize videos in HTML like we do images now.

This is probably *fairly* useless, since no browsers as far as I know
support the video tag, but not CSS. But it could make a basic CSS
theme a few lines shorter.
This commit is contained in:
Jason McBrayer 2023-11-16 18:49:40 -05:00
parent 12bb559bac
commit 9bcf350c8c

View File

@ -120,7 +120,8 @@
</figure>
{% else %}
<figure class="column">
<video controls loop class="is-max-256"
<video controls loop class="is-max-256"
width="256" height="256"
poster="{{ media.preview_url }}">
<source src="{{ media.url }}" type="video/mp4">
<a href="{{ media.url }}">