Can listen to tracks in the browser

This commit is contained in:
nemunaire 2022-10-15 13:29:25 +02:00
commit d966709d42
3 changed files with 52 additions and 0 deletions

View file

@ -52,6 +52,13 @@
</ListGroupItem>
</ListGroup>
<div class="my-2 d-flex justify-content-center">
<audio controls class="w-100 rounded">
<source src="api/tracks/{track.id}/stream">
Your browser does not support the audio element.
</audio>
</div>
<ListGroup class="my-2 text-center">
<ListGroupItem
action