Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 23:15:30 +00:00
parent 4a21c75c35
commit e1de555b2e

View File

@ -13,13 +13,12 @@
{% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio>
{% if thumb != null %}
<br />
<div class="audiothumbnail">
<img src="{{ thumb }}" />
</div>
{% endif %}
<audio id="player" 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 %}