html5/javascript audio play multiple tracks at the same time
问题 Is it possible to play the whole audio instance at the same time? I know, I could create every time an new instance and call .play() on every instance, but I think its dirty. like sound1 = new Audio('sound1.mp3'); sound2 = new Audio('sound2.mp3); sound1.play(); sound2.play; Its more or less the same as in this thread: Play multiple sound at the same time But there has to be and elegant way? 回答1: Edit: MediaController and mediagroup turned out to be vaporware. You will want to stick with the