Wavesurfer voor audio file player

This commit is contained in:
NH Gooi
2024-09-25 17:30:15 +02:00
parent 1dadbc62af
commit 6c732f90e8
7 changed files with 138 additions and 69 deletions

View File

@@ -113,6 +113,7 @@
<div class="announcement">
@include("widgets.audioplayer", [
'isStream' => false,
'source' => $streamUrl,
'lengte' => $podcast->duration / 1000,
'waveform' => $podcast->waveform
@@ -122,7 +123,7 @@
<a class="action_button btn" href="{{$audioUrl}}" title="Download dit fragment als MP3">
<span>Download fragment</span>
</a>
<a class="action_button btn player" href="{{$popoutUrl}}">
<a class="action_button btn player" href="{{$popoutUrl}}" onclick="pause()">
<span>Luister in nieuw venster</span>
</a>
</div>