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