Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 22:21:03 +00:00
parent 9a9e63de58
commit 566862730d

View File

@ -12,13 +12,14 @@
<div class="medium">
{% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% elseif item == "audio" %}
{% if thumb != null %}
<div class="thumbnail">
<img src="{{ thumb }}" />
</div>
{% endif %}
<audio controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% elseif item == "image" %}
<a href="{{ dest }}" target="_blank"><img src="{{ dest }}" style="max-width: 1024px" /></a>
{% else %}