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

Uncaught (in promise) DOMException on Chrome #313

Closed
eman1986 opened this issue Jan 18, 2019 · 1 comment
Closed

Uncaught (in promise) DOMException on Chrome #313

eman1986 opened this issue Jan 18, 2019 · 1 comment

Comments

@eman1986
Copy link

Issue description

I notice on the page I have my player set up on I have this message in my console:

Uncaught (in promise) DOMException

The audio is playing just fine regardless but I did get chrome to lock up a couple times too.

It looks to be affecting Chrome only, firefox doesn't have the same message popping up. I'm assuming this is related to issue 278 as it looks to be a similar situation.

Environment

  • Amplitude.js Version: 4.0.0
@danpastori
Copy link
Contributor

This is fixed in Amplitude 5.0. The play method now returns a promise which is expected by Chrome.

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