You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mogamoga1024
changed the title
iOSのChromeにて、バックグラウンドから復帰時に音が鳴らない現象 & 解決方法?
Audio not playing after returning from background on iOS Chrome and a possible solution
Feb 23, 2025
The Problem
iOSのChromeにて、バックグラウンドから復帰時に音が鳴りません。
Safariでも同じ現象が起こりそうですが未確認です。
Reproducible Example
No response
Reproduction Steps
Possible Solution
以下のようにコードを書いたら直りました。
↑これを
↓こうする
参考:https://developer.mozilla.org/en-US/docs/Web/API/BaseAudioContext/state#resuming_interrupted_play_states_in_ios_safari
このissueはこの事実を周知させるためにあげました。
何かのヒントになれば嬉しいです。
全体は以下の通りです。
Context
No response
Howler.js Version
2.2.4
Affected Browser(s)/Versiuon(s)
No response
The text was updated successfully, but these errors were encountered: