|
|
@ -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"; |
|
|
|