Update item.tpl.html

This commit is contained in:
Flummi 2016-10-20 22:18:07 +00:00
parent ad1e693bf8
commit eb7c0d3649

View File

@ -13,17 +13,18 @@
{% if item == "video" %}
<video id="player" src="{{ dest }}" style="max-width: 1280px; height: 50%;" preload="auto" autoplay controls loop></video>
{% elseif item == "audio" %}
{% if thumb != null %}
<div class="thumbnail">
<img src="{{ thumb }}" />
</div>
{% endif %}
{% if thumb != null %}
<div class="thumbnail">
<img src="{{ thumb }}" />
</div><br />
{% 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 %}
<h1>404 - Not f0cked</h1>
{% endif %}
</div>
<br />
<div class="panel info">
<span class="id">ID: {{ id }} | by: {{ username }}<span></span><br />
@ -34,7 +35,6 @@
<span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span>
</div>
</div>
<br />
<script>
function arrowKeys(e) {
@ -65,5 +65,5 @@
video.volume = 0.5;
</script>
</body>
<! Fuck git… seriously-->
<!-- Fuck git… seriously-->
</html>