add extra stream to page
This commit is contained in:
parent
d197ca820a
commit
28a61a9833
23
index.html
23
index.html
@ -156,7 +156,7 @@
|
||||
<!-- if online: -->
|
||||
<!-- " ♪ . *⁽⁽ ◝꒰´꒳`∗꒱◟ ₎₎₊· * ON AIR ♪ ♬ ヾclick on the buttons on the right side to display the different modalities ノ ♬ ♪ ON AIR ♫♪.ılılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılılı.♫♪ " -->
|
||||
|
||||
<marquee scrolldelay="92">" ♪ . *⁽⁽ ◝꒰´꒳`∗꒱◟ ₎₎₊· * You're listening to Learning Palestine - Until Liberation mixtape 10:00-22:00 CET 20.10.2023 ♪ ♬ ヾ *⁽⁽ ◝꒰´꒳`∗꒱◟ ₎₎₊· * "</marquee>
|
||||
<marquee scrolldelay="92">" ♪ . *⁽⁽ ◝꒰´꒳`∗꒱◟ ₎₎₊· * Tune in for the 8M March, streamed from Utrecht and Rotterdam on Friday 8th March from 18:00 onwards ♪ ♬ ヾ *⁽⁽ ◝꒰´꒳`∗꒱◟ ₎₎₊· * "</marquee>
|
||||
|
||||
|
||||
<!-- if offline: -->
|
||||
@ -169,16 +169,24 @@
|
||||
<source src="https://voice.vvvvvvaria.org/live" type="audio/mpeg">
|
||||
Your browser does not support the audio element. Try the direct link to the audio below!
|
||||
</audio>
|
||||
<audio id="player2" preload="none">
|
||||
<source src="https://radio.goodtimesbadtimes.club:8030/radio.mp3" type="audio/mpeg">
|
||||
Your browser does not support the audio element. Try the direct link to the audio below!
|
||||
</audio>
|
||||
<p>
|
||||
Press play to tune in! It might take a few seconds to load...<br>
|
||||
Druk op "play" om te luisteren! Het kan een paar seconden duren voordat je iets hoort...
|
||||
</p>
|
||||
<div class="audio-buttons">
|
||||
<button id="audioButton" class="stream-button b-narrow" onclick="Play()">Play</button>
|
||||
<button id="audioButton" class="stream-button b-narrow" onclick="Play()">Play from Rotterdam</button>
|
||||
<button id="audioButton2" class="stream-button b-narrow" onclick="Play()">Play from Utrecht</button>
|
||||
<script>
|
||||
var audio = document.getElementById("player");
|
||||
audio.volume = 0.6;
|
||||
var butn = document.getElementById("audioButton");
|
||||
var audio2 = document.getElementById("player2");
|
||||
audio.volume = 0.6;
|
||||
var butn2 = document.getElementById("audioButton2");
|
||||
|
||||
function Play() {
|
||||
if(audio.paused) {
|
||||
@ -190,6 +198,17 @@
|
||||
butn.innerText = "Play";
|
||||
}
|
||||
}
|
||||
|
||||
function Play() {
|
||||
if(audio.paused) {
|
||||
audio2.play();
|
||||
butn2.innerText = "Pause";
|
||||
}
|
||||
else {
|
||||
audio2.pause();
|
||||
butn2.innerText = "Play";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<button class="stream-button b-narrow vol" onclick="document.getElementById('player').volume += 0.1">Vol +</button>
|
||||
<button class="stream-button b-narrow vol" onclick="document.getElementById('player').volume -= 0.1">Vol -</button>
|
||||
|
Loading…
Reference in New Issue
Block a user