Regionieuws waveform gefixt
This commit is contained in:
@@ -186,11 +186,15 @@ class NewsController extends Controller
|
|||||||
|
|
||||||
public function regionieuws()
|
public function regionieuws()
|
||||||
{
|
{
|
||||||
|
$data = $this->API('nieuws/regionieuws.json');
|
||||||
return view('listen', [
|
return view('listen', [
|
||||||
'source' => $this->API_URL . 'nieuws/regionieuws',
|
'source' => $this->API_URL . 'nieuws/regionieuws.mp3',
|
||||||
'title' => 'Regionieuws',
|
'title' => 'Regionieuws',
|
||||||
'content' => 'het laatste nieuws uit de regio',
|
'content' => 'het laatste nieuws uit de regio',
|
||||||
'isStream' => false,
|
'isStream' => false,
|
||||||
'canDownload' => true]);
|
'canDownload' => true,
|
||||||
|
'lengte' => $data->length,
|
||||||
|
'waveform' => $data
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user