Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio on iOS #6

Open
tjvr opened this issue Jul 27, 2017 · 0 comments
Open

Audio on iOS #6

tjvr opened this issue Jul 27, 2017 · 0 comments
Labels
Milestone

Comments

@tjvr
Copy link
Member

tjvr commented Jul 27, 2017

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 => {
    new Sound('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.

@tjvr tjvr added the bug label Jul 27, 2017
@tjvr tjvr added this to the never milestone Aug 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant