Skip to content
Snippets Groups Projects
Commit 0193de91 authored by Fabian Marquardt's avatar Fabian Marquardt
Browse files

Fix audio embed URL

parent 5edc7fa7
No related branches found
No related tags found
No related merge requests found
Pipeline #4025 passed
......@@ -37,8 +37,7 @@
<p>Um diesen Stream in VLC zu öffnen, nutze die folgende Netzwerkadresse:</p>
<p><code id="urlStream">unset</code></p>
<h4>Nur-Audio-Stream</h4>
<audio controls>
<source src="https://hls1.stream.kif.rocks:8443/newname" type="audio/mpeg">
<audio id="audioPlayer" controls>
</audio>
<p>Um den Audiostream in VLC zu öffnen, nutze die folgende Netzwerkadresse:</p>
<p><code id="urlAudio">unset</code></p>
......@@ -71,6 +70,7 @@
$('#streamtitle').html('#' + streamName + ' (Mirror: ' + mirror + ')');
$('#urlStream').html(streamURL);
$('#urlAudio').html(audioURL);
$('#audioPlayer').html('<source src="' + audioURL + '" type="audio/mpeg">');
function getClapprPlayer() {
return new Clappr.Player({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment