We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Step to reproduce
Specs: Safari 17.1 MacOS: Sonoma 14.1.1
The text was updated successfully, but these errors were encountered:
Workaround is the usingvisibilityjs (https://www.npmjs.com/package/visibilityjs)
import * as Visibility from "visibilityjs"; import { sound } from "@pixi/sound"; Visibility.change((e,s)=>this.onVisibilityChange(e,s)); private onVisibilityChange(e:Event, state:string) { if(state=='hidden') { sound.muteAll() }else{ sound.unmuteAll() } }
Sorry, something went wrong.
No branches or pull requests
Step to reproduce
sound is still playing which should not. If you click anywhere after play sound then switch tab it works as expected.
Specs: Safari 17.1 MacOS: Sonoma 14.1.1
The text was updated successfully, but these errors were encountered: