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

Seek actions dispatched by waveform returning unresolved promises #28

Open
minuminukim opened this issue Mar 23, 2022 · 0 comments
Open

Comments

@minuminukim
Copy link
Owner

When a mousedown event fires on the waveform, dispatching a seek action, console emits an error:
"Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22"

This doesn't cause the application to crash but should look into this. audio.play() and audio.pause() methods are asynchronous.

When a track is currently selected, but the player is paused, a seek event on the waveform should dispatch a play action.

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

1 participant