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
Describe the bug
Audio playback stops when safari unfocused on ios. If i use a regular tag it keeps playing in the background when i unfocus safari. this is what i expect and want.
To Reproduce
Steps to reproduce the behavior:
load a song
play it
unfocus safari
Expected behavior
Audio keeps playing on unfocus.
Environment (please complete the following information):
Browser/ browser version: safari ios 17.3.1
Library version: 2.2.0
React version: 18.2.0
Node version: 21.1.0
The text was updated successfully, but these errors were encountered:
Hi @Codigo-Fuentes thanks for opening the issue. I don't think I'll be able to get around to triaging this any time soon (feel free to take a look and open a PR if you want to take a stab at it!), but can I ask how you are loading the sound? I think you may need to load with the html5 option set to true. The media session API only works with HTML5 elements, not the Web Audio API which Howler uses by default.
Describe the bug
Audio playback stops when safari unfocused on ios. If i use a regular tag it keeps playing in the background when i unfocus safari. this is what i expect and want.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Audio keeps playing on unfocus.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: