Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
adamdbrennan opened this issue Jul 20, 2021 · 3 comments
Open

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

adamdbrennan opened this issue Jul 20, 2021 · 3 comments

Comments

@adamdbrennan
Copy link

adamdbrennan commented Jul 20, 2021

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.

@samirkumardas
Copy link
Owner

I wish I could solve this problem!

@adamdbrennan
Copy link
Author

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?

@samirkumardas
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants