-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any way to add support for ios9? #19
Comments
Is this error thrown with the examples? |
The examples dont work because of ES6 syntax :D |
Looks like a pretty easy fix. I added this to the dev branch, but will also probably make a patch release to master for this. The offending line is here: https://github.com/pixijs/pixi-sound/blob/master/src/SoundInstance.ts#L245 this._source.start(0, start, (end ? end - start : undefined)); For iOS 9, this should be: if (end) {
this._source.start(0, start, end - start);
} else {
this._source.start(0, start);
} |
Perfect! Thank you for the quick response! When will you merge dev to master or create a patch? |
Released in v1.4.2 |
Currently getting error
Error: InvalidStateError: DOM Exception 11
when callingPIXI.sound.play('soundName');
The text was updated successfully, but these errors were encountered: