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
Famously, iOS only allows web audio to work if triggered from a touchstart event.
You can of course workaround this as an end-user:
cow.on('tap',e=>{newSound('moo').play()})
However, it'd be neat if the library could handle this itself; for example, by playing a silent sound file on the first touchstart. This would allow end users to play sounds at arbitrary times.
The text was updated successfully, but these errors were encountered:
Famously, iOS only allows web audio to work if triggered from a
touchstart
event.You can of course workaround this as an end-user:
However, it'd be neat if the library could handle this itself; for example, by playing a silent sound file on the first
touchstart
. This would allow end users to play sounds at arbitrary times.The text was updated successfully, but these errors were encountered: