Abspiel-knopf auf allen Karten

This commit is contained in:
mikka 2026-04-22 22:03:32 +02:00
parent a6b47e15f8
commit 587239e046
2 changed files with 16 additions and 8 deletions

View file

@ -1,7 +1,7 @@
<article>
<p id="{{karte_loop.index0}}" class="sing"></p>
<img src="{{ karte.img }}"/>
{% if karte.ytid %}
<button id="{{karte_loop.index0}}" onclick="abspielendiese(this.id)">Abspielen</button>
<audio controls src="/static/{{karte.datei}}"></audio>
{% endif %}
<h2>{{ karte.titel}}</h2>