Just use js to control: //Play
playBtn.onclick?=?function(){
if?(oAudio.paused)?{< /p>
oAudio.play();
//getElement("musicname").nodeValue?=?musicName;
cmbg.className?=?"musicname" ;
playBtn.className?=?"l?play";
playBtn.setAttribute("title","pause");
}
p>
else?{
oAudio.pause();
cmbg.className?=?"musicnamed";
playBtn.className?= ?"l?pause";
playBtn.setAttribute("title","play");
}
};
html: