mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 15:23:52 -05:00
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:
parent
12bb559bac
commit
9bcf350c8c
@ -120,7 +120,8 @@
|
|||||||
</figure>
|
</figure>
|
||||||
{% else %}
|
{% else %}
|
||||||
<figure class="column">
|
<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 }}">
|
poster="{{ media.preview_url }}">
|
||||||
<source src="{{ media.url }}" type="video/mp4">
|
<source src="{{ media.url }}" type="video/mp4">
|
||||||
<a href="{{ media.url }}">
|
<a href="{{ media.url }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user