Skip to content

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

Closed

Description

@l4u

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?

Activity

  1. reopened this on Feb 26, 2012
  2. davepenfold commented on Oct 4, 2013

    @davepenfold

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

  3. OJayRobinson commented on Oct 4, 2013

    @OJayRobinson
    Contributor

    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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions