Can listen to gong on the page

This commit is contained in:
nemunaire 2022-10-15 13:47:57 +02:00
commit 7db7489b4c
3 changed files with 52 additions and 0 deletions

View file

@ -49,6 +49,13 @@
</ListGroupItem>
</ListGroup>
<div class="my-2 d-flex justify-content-center">
<audio controls class="w-100 rounded">
<source src="api/gongs/{gong.id}/stream">
Your browser does not support the audio element.
</audio>
</div>
<ListGroup class="my-2 text-center">
{#if !confirmDeletion}
<ListGroupItem