|
|
@ -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 %} |
|
|
|