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
The mobile client has a lot of issues with audio due to the browser requiring user interaction events to play sounds.
I think there is a workaround for this however. It seems that each interaction allows you to play one Audio object as many times as you like! Therefore, I am thinking that on each interaction with the browser we could add to a pool of Audio objects to use to play audio on mobile. Whenever we need to play a sound, we can then swap the src of these Audio objects to the sound we want to play, and play the sound!
The text was updated successfully, but these errors were encountered:
The mobile client has a lot of issues with audio due to the browser requiring user interaction events to play sounds.
I think there is a workaround for this however. It seems that each interaction allows you to play one Audio object as many times as you like! Therefore, I am thinking that on each interaction with the browser we could add to a pool of Audio objects to use to play audio on mobile. Whenever we need to play a sound, we can then swap the
src
of these Audio objects to the sound we want to play, and play the sound!The text was updated successfully, but these errors were encountered: