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

Not play :( #3

Open
maitret opened this issue Apr 11, 2019 · 1 comment
Open

Not play :( #3

maitret opened this issue Apr 11, 2019 · 1 comment

Comments

@maitret
Copy link

maitret commented Apr 11, 2019

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
(anonymous) @ (index):56

@esonderegger
Copy link
Owner

Hi @maitret - thank you for mentioning this and I'm sorry for being so slow to follow up. I don't think there is a good way to fix this in code, so probably all we can do is document that the audio context needs to be started in order for it to work.

I tried to document an example of how to do this in https://github.com/esonderegger/web-audio-peak-meter/blob/master/README.md#usage-basic. Perhaps there is a clearer way to explain this, though?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants