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
How do I detect when a playing sound is paused/resumed/stopped by the Operating System?
For instance say track.playing() === true and I hit the pause button on my keyboard (or pause from the operating system), does howler emit an event? As far as I know, onpause isn't fired.
I need to toggle certain states when a sound is paused or resumed by the operating system's media controls not only when I explicitly call play(), pause() or stop().
The text was updated successfully, but these errors were encountered:
Howler does not pay attention to external/OS audio events, see my comment on #1262 for more information and a possible workaround.
Check #1383 for iOS specifics.
How do I detect when a playing sound is paused/resumed/stopped by the Operating System?
For instance say
track.playing() === true
and I hit the pause button on my keyboard (or pause from the operating system), does howler emit an event? As far as I know,onpause
isn't fired.I need to toggle certain states when a sound is paused or resumed by the operating system's media controls not only when I explicitly call
play()
,pause()
orstop()
.The text was updated successfully, but these errors were encountered: