mirror of
https://github.com/jfmcbrayer/brutaldon
synced 2024-12-22 13:26:14 +01: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