I have a single audio control on my webpage. I wish to use it to play multiple very short audio files depending on the state of the page. I do not wish to load the files as I play them. How do I load all of these files on page load?
Here's is a rough idea of what I'm doing:
http://jsfiddle.net/L0c9ccx9/20/
audio.src = ...;
audio.load();
audio.play();
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…