mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-27 09:10:08 -05:00
Loop videos, on the assumption that most are gifvs.
Also, use media.preview_url for the preview image rather than the first frame.
This commit is contained in:
parent
be3bb1ee1a
commit
9eda3c91cb
@ -76,7 +76,8 @@
|
||||
</a>
|
||||
|
||||
{% else %}
|
||||
<video class="level-item is-max-256" controls>
|
||||
<video class="level-item is-max-256" controls loop
|
||||
poster="{{ media.preview_url }}">
|
||||
<source src="{{ media.url }}" type="video/mp4">
|
||||
<a href="{{ media.url }}">
|
||||
{% if toot.sensitive %}
|
||||
|
Loading…
Reference in New Issue
Block a user