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

After going to sleep by pressing the ipad top button, there is no sound when waking up #1671

Closed
SnowKamiya opened this issue Jul 5, 2023 · 2 comments
Labels

Comments

@SnowKamiya
Copy link

The Problem

My device Ipad OS 16.1.1.
I'm creating a mini game and the bgm playback doesn't work.
it's working on iphone.
Is there anything I should do when waking up after going to sleep with the browser open?

Reproducible Example

No response

Reproduction Steps

Ipad(4th) OS 16.1.1.
1)Launch safari and play a looping bgm.
2)After going to sleep by pressing the ipad top button.
3)Press the top button again to wake from sleep.
4)not play looping bgm.

I try resume code
const { ctx } = Howler; if (ctx) { setTimeout(() => { ctx.resume(); }, 100); }

Possible Solution

No response

Context

No response

Howler.js Version

2.2.3

Affected Browser(s)/Versiuon(s)

No response

@SnowKamiya SnowKamiya added the bug label Jul 5, 2023
@SnowKamiya
Copy link
Author

This issue is most likely fixed in the commit below.
#1660

@SnowKamiya
Copy link
Author

#1660
fixed. ty

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

No branches or pull requests

1 participant