mirror of
https://gitlab.com/brutaldon/brutaldon.git
synced 2024-12-04 14:46:24 -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>
|
</a>
|
||||||
|
|
||||||
{% else %}
|
{% 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">
|
<source src="{{ media.url }}" type="video/mp4">
|
||||||
<a href="{{ media.url }}">
|
<a href="{{ media.url }}">
|
||||||
{% if toot.sensitive %}
|
{% if toot.sensitive %}
|
||||||
|
Loading…
Reference in New Issue
Block a user