leoasis / leoasis/react-sound

Uncaught Error: The error you provided does not contain a stack trace.

Open
#91 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
490
Forks
80
PR merge metrics
No merged PRs in 30d

Description

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause(). https://goo.gl/LdLk22

When I use react-sound in electron react app.When change the url by state,the two error happen.Can you help that?

            <Sound
                url={this.state.audioName}
                playStatus={this.state.audioStatus}
            />

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Electron React app using the Sound component with audioName and audioStatus state, then inspect how URL changes interact with play() and pause(). Done means changing the URL no longer produces the uncaught DOMException or missing-stack-trace error.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript, react
Domain
audio-video-rtc, desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.