Browse Source

Update 'index.html'

master
bnjmn 3 months ago
parent
commit
61ad86f6ff
  1. 4
      index.html

4
index.html

@ -179,7 +179,7 @@
</p>
<div class="audio-buttons">
<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>
<button id="audioButton2" class="stream-button b-narrow" onclick="Play2()">Play from Utrecht</button>
<script>
var audio = document.getElementById("player");
audio.volume = 0.6;
@ -199,7 +199,7 @@
}
}
function Play() {
function Play2() {
if(audio.paused) {
audio2.play();
butn2.innerText = "Pause";

Loading…
Cancel
Save