hurra hurra ein audio poster!

This commit is contained in:
Flummi 2017-10-20 12:41:11 +02:00
parent b257e53a60
commit 0c8bc876a0

View File

@ -24,9 +24,9 @@
{% elseif item == "audio" %} {% elseif item == "audio" %}
{% if thumb != null %} {% if thumb != null %}
<div> <div>
<img src="{{ thumb }}" /><br /> <!-- <img src="{{ thumb }}" /><br /> -->
{% endif %} {% endif %}
<audio id="player" controls loop src="{{ dest }}" type="audio/mp3" ></audio> <audio id="my-video" class="video-js audiojs" controls loop src="{{ dest }}" data-setup="{}" poster="{% if thumb !== null %}{{ thumb }}{% else %}/s/pingu.gif{% endif %}" type="audio/mp3" ></audio>
{% if thumb != null %} {% if thumb != null %}
</div> </div>
{% endif %} {% endif %}