Skip to content

Calling play/pause rapidly in Chrome can cause error #718

Closed
@goldfire

Description

@goldfire

This appears to be related to Chrome issue (it is marked as fixed, but it isn't): https://bugs.chromium.org/p/chromium/issues/detail?id=593273

Basically, if you run the following on a sound that is already playing:

sound.pause();
sound.play();
sound.pause();

You will get the following error in Chrome:

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions