window.onload = function(){
var music = document.getElementById("music");
var audio = document.getElementsByTagName("audio")[0];
music.onclick = function() {
if(audio.paused){
audio.play();
}else{
audio.pause();
};
相关分类