pcm-player icon indicating copy to clipboard operation
pcm-player copied to clipboard

Can not play audio when Safari application is minimized (iOS)

Open adamdbrennan opened this issue 3 years ago • 3 comments

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.

adamdbrennan avatar Jul 20 '21 20:07 adamdbrennan

I wish I could solve this problem!

samirkumardas avatar Jul 21 '21 06:07 samirkumardas

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?

adamdbrennan avatar Jul 23 '21 15:07 adamdbrennan

this library uses a web audio library so it does not need any video or audio tag

samirkumardas avatar Jul 23 '21 16:07 samirkumardas