Browse Source

Update 'index.html'

master
ccl 9 months ago
parent
commit
7c01b64f85
  1. 3
      index.html

3
index.html

@ -187,6 +187,7 @@
var audio = document.getElementById("player"); var audio = document.getElementById("player");
audio.volume = 0.6; audio.volume = 0.6;
var butn = document.getElementById("audioButton"); var butn = document.getElementById("audioButton");
var audio2 = document.getElementById("player2"); var audio2 = document.getElementById("player2");
audio.volume = 0.6; audio.volume = 0.6;
var butn2 = document.getElementById("audioButton2"); var butn2 = document.getElementById("audioButton2");
@ -203,7 +204,7 @@
} }
function Play2() { function Play2() {
if(audio.paused) { if(audio2.paused) {
audio2.play(); audio2.play();
butn2.innerText = "Pause"; butn2.innerText = "Pause";
} }

Loading…
Cancel
Save