Regionieuws waveform gefixt

This commit is contained in:
NH Gooi
2024-12-07 18:37:57 +01:00
parent 1863ff766f
commit 0e2148956f

View File

@@ -186,11 +186,15 @@ class NewsController extends Controller
public function regionieuws()
{
$data = $this->API('nieuws/regionieuws.json');
return view('listen', [
'source' => $this->API_URL . 'nieuws/regionieuws',
'source' => $this->API_URL . 'nieuws/regionieuws.mp3',
'title' => 'Regionieuws',
'content' => 'het laatste nieuws uit de regio',
'isStream' => false,
'canDownload' => true]);
'canDownload' => true,
'lengte' => $data->length,
'waveform' => $data
]);
}
}