hurra hurra ein audio poster!
This commit is contained in:
parent
b257e53a60
commit
0c8bc876a0
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user