There are some pretty significant issues with manually adding audio to a Hype project. One of the most common is a gap in the audio – if it is set to loop. Another common problem is Safari. There's this annoying 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.
We’d love to hear from developers on these new auto-play policies. Please reach out to our Web Technologies Evangelist, Jon Davis on Twitter to share your thoughts with our team.
Share my thoughts?! YOU SUCK APPLE!
And yet, somehow, Hype is able to automatically play audio on startup – without a gap in the loop. This is great right?!
Well, not exactly. I can only start or stop the sound. I can't raise or lower the volume and I can't fade out the sound.
...but I should be able to access the sound somehow, right? This is like the Physics API problem again. Hype is doing something, but it doesn't want to share.