pcm-player
pcm-player copied to clipboard
Can not play audio when Safari application is minimized (iOS)
When the Safari application is minimized and running in the background, the audio will pause and buffer up until the user reopens the app. I don't think this is expected behaviour, but maybe I am underestimating Apple's walled garden.
I wish I could solve this problem!
Is there no way to solve it? Even a hacky way to do it?
I did some research and it seems background music can be played if it's a video player - perhaps adding an option to specify what kind of player to use would suffice?
this library uses a web audio library so it does not need any video or audio tag