mister_ex,
.audio.play {
background-color: #FFFFFF;
color: #000;
border: #000 1px solid;
}
var audio = new Audio(), temp;
[].forEach.call(document.querySelectorAll('.audio'), function(item) {
temp && temp.classList.remove('play');
item.classList.add("play");
temp = item;
item.addEventListener('click', function() {
var path = '/android_asset/www/audio/';
var audioName = item.querySelector('audio').getAttribute('src');
audio.pause();
var fullPath = path+audioName;
audio.src = fullPath;
audio.play();
});
});