goldfire / howler.js

Javascript audio library for the modern web.
https://howlerjs.com
MIT License
23.29k stars 2.21k forks source link

Playing any sounds on iOS (Safari, Chrome) pauses music from other apps. #1693

Open AVOGames opened 7 months ago

AVOGames commented 7 months ago

The Problem

I'm using this great lib for playing sounds for my web (vuejs) game. All works fine, however, when these sounds are playing on iOS devices, they just make Spotify, Apple's Music playback pause.

I'm using the latest 2.2.4 version.

Reproducible Example

No response

Reproduction Steps

  1. Just play any sound on the web, while Spotify plays in the background.

Possible Solution

No response

Context

No response

Howler.js Version

2.2.4

Affected Browser(s)/Versiuon(s)

No response