forked from varia/bots
added "controls" to audio and video tags
This commit is contained in:
parent
9e49595755
commit
ba2654cc8a
@ -21,9 +21,9 @@
|
||||
{% elif 'application' in db[num]['media']['type'] %}
|
||||
<iframe src="{{ db[num]['media']['path'] }}" loading="lazy"></iframe>
|
||||
{% elif 'audio' in db[num]['media']['type'] %}
|
||||
<audio src="{{ db[num]['media']['path'] }}" preload="none"></audio>
|
||||
<audio src="{{ db[num]['media']['path'] }}" preload="none" controls></audio>
|
||||
{% elif 'video' in db[num]['media']['type'] %}
|
||||
<video src="{{ db[num]['media']['path'] }}" preload="none"></video>
|
||||
<video src="{{ db[num]['media']['path'] }}" preload="none" controls></video>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user