Update item.tpl.html

This commit is contained in:
noxy 2016-10-20 22:24:45 +00:00
parent 838d679cf1
commit 519fa7656b

View File

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