I have a fully functioning multi-scene app which has some audio issues.
I’ve taken the HTML5 output file and resource folder directly into Xcode and used Swift to build an iOS app successfully but it throws up errors when an audio file is triggered in the timeline (unless on the first frame) and the audio is not triggered. I have automatically playing timelines when a scene is loaded and also user triggered button timelines, both have the same problem and throw up the same error:
“[Error] Unhandled Promise Rejection: NotAllowedError (DOM Exception 35): The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
(anonymous function) (HYPE-584.thin.min.js:14:249)
(anonymous function) (HYPE-584.thin.min.js:36:450)”
The weird thing is that if you first trigger an audio file that is attached directly to a button, it sounds, it can then be triggered in a timeline, so it’s as if the app has to wait until a sound file is played before it can then be triggered in any timeline event, as if timeline events won’t load the audio.
If anyone has any ideas then it would be great to hear them.
Also, if one audio file is triggered quickly after a first, the front of it is cut off, so the ‘attack’ is lost, I guess this is something down to overlapping, more annoying than serious.
Thanks in advance