Audio not loaded in IE9 when there is no audio device #1

Closed
l4u opened this Issue Feb 26, 2012 · 2 comments

Comments

Projects
None yet
4 participants

l4u commented Feb 26, 2012

Load http://soundjs.com/examples/game/game.html in IE9

SCRIPT5022: Audio is not loaded. The source(s) are either not found, or the correct audio formats are not provided.
SoundJS.js, line 873 character 4

Could this exception be caught in SoundJS?

l4u closed this Feb 26, 2012

l4u reopened this Feb 26, 2012

I'm experiencing the same issue in IE10 when there is no audio device available. Can anything be done about this?

Contributor

OJayRobinson commented Oct 4, 2013

hi Dave,

My thought is that IE and the other browsers should handle this intelligently. I would suggest reporting a bug to IE.
In the meantime, any solution we might put into SoundJS is the same as what you might do yourself. Try to detect if there is an audio device, and if not then do not play audio.

Hope that helps.

lannymcnie closed this Oct 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment