function stopAudio(audio) { audio.pause(); audio.currentTime = 0; } //then using it: stopAudio(audio);. Second method (favoured): extend the Audio class ...
確定! 回上一頁