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