modified: s/item.tpl.html

This commit is contained in:
Flummi 2016-08-19 19:31:40 +02:00
parent e179fa481d
commit e149d6e620

View File

@ -10,9 +10,9 @@
<div class="return"><a href="/" title="return to main">f0ck.me</a></div><br /> <div class="return"><a href="/" title="return to main">f0ck.me</a></div><br />
<div class="medium"> <div class="medium">
{% if item == "video" %} {% if item == "video" %}
<video src="{{ dest }}" style="max-width: 1024px" autoplay controls loop></video> <video src="{{ dest }}" style="max-width: 1024px" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %} {% elseif item == "audio" %}
<audio controls 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>
{% else %} {% else %}