goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.74k stars 2.22k forks source link

Audio Sprites stop working on iOS when switching away from Safari and back #1053

Closed shawnbissell closed 4 years ago

shawnbissell commented 5 years ago

An iOS 12 in the Safari browser. After an audio sprite has been loaded on a page, switching to another app and back prevents the audio sprite from playing again. See the audio sprites demo on https://howlerjs.com/

Steps to reproduce: 1) Open safari on iOS 12 2) Navigate to https://howlerjs.com/ 3) Load the audio sprites demo and see that it plays sounds 4) Tap the home button and load another app (ie Mail) 5) Tap the home button and load safari again 6) Try to play a sound Sounds do not play :( Refreshing the page allows the sounds to play again.

shawnbissell commented 5 years ago

Looks like this was fixed in v2.1.0