Skip to content

Conversation

@probityrules
Copy link

This fixes a few issues with the {src: "path/to/file", id: "audioId"} format for both sound registration and sound removal:

  1. registerSounds passes the id to registerSound for each entry if it's defined.
  2. Registration accepts src property in a hash.
  3. Registration correctly accepts file-types in hash (parameter/variable name mismatch).
  4. Sound removal accepts {id: "audioId"} format to mirror sound registration, like SoundJS v1.
  5. Put in a rejection analogous to _fetchByUrlArray for _fetchByUrlHash since it appeared to be missing.

…}` format for both sound registration and sound removal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant