问题
I'm making a browser game which have about 60 various-length audio files playing on the same scene, and thus cannot be unloaded.
I wonder if someone is facing this problem except me: IE has a (hardware dependent) limit of sound files that can be loaded via HTML5 Audio.load method. In my case it's exactly 41 sound file. When reaching this limit, IE fails to load sound with onerrror event firing on Audio element (I'm not making a testcase, hoping that it's a well-known bug, so many years it's there).
So, what can be done with this? Sound sprites? Tried that one, every browser except IE is OK playing sound sprites, but in IE there are some problems (as always). What else?
Thank you!
来源:https://stackoverflow.com/questions/22522493/ie-9-10-11-sound-file-limit