Update item.tpl.html
This commit is contained in:
parent
905812bcad
commit
54863e09ce
|
@ -13,12 +13,12 @@
|
||||||
{% 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" %}
|
{% elseif item == "audio" %}
|
||||||
|
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio><br />
|
||||||
{% if thumb != null %}
|
{% if thumb != null %}
|
||||||
<div class="audiothumbnail">
|
<div class="audiothumbnail">
|
||||||
<img src="{{ thumb }}" />
|
<img src="{{ thumb }}" />
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" autoplay></audio><br />
|
|
||||||
{% 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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user