WaveSurfer player voor podcasts, voor live WIP
This commit is contained in:
@@ -88,11 +88,11 @@
|
||||
|
||||
@section('content')
|
||||
@if ($podcast)
|
||||
<?php
|
||||
<?php
|
||||
$audioUrl = url($apiUrl . 'podcast/download' . $podcast->url . "?auth=" . $podcast->auth);
|
||||
$streamUrl = url($apiUrl . 'podcast/stream' . $podcast->url . "?auth=" . $podcast->auth);
|
||||
$popoutUrl = route('luister.podcast') . $podcast->url . '?auth=' . $podcast->auth;
|
||||
?>
|
||||
?>
|
||||
|
||||
<div class="">
|
||||
<div class="row news_post">
|
||||
@@ -112,9 +112,12 @@
|
||||
</ul>
|
||||
|
||||
<div class="announcement">
|
||||
<audio controls>
|
||||
<source src="{{$streamUrl}}" type="audio/mpeg"/>
|
||||
</audio>
|
||||
@include("widgets.audioplayer", [
|
||||
'source' => $streamUrl,
|
||||
'lengte' => $podcast->duration / 1000,
|
||||
'waveform' => $podcast->waveform
|
||||
])
|
||||
|
||||
<div class="clearfix">
|
||||
<a class="action_button btn" href="{{$audioUrl}}" title="Download dit fragment als MP3">
|
||||
<span>Download fragment</span>
|
||||
|
||||
Reference in New Issue
Block a user