Skip to content
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.

The play() request was interrupted by a call to pause() #786

Closed
naveed-ahmad opened this issue May 9, 2017 · 5 comments
Closed

The play() request was interrupted by a call to pause() #786

naveed-ahmad opened this issue May 9, 2017 · 5 comments
Assignees

Comments

@naveed-ahmad
Copy link
Contributor

Chrome is throwing lot of these warning/errors, and sometime playback also stop.

@naveed-ahmad naveed-ahmad self-assigned this May 9, 2017
@iMoe037
Copy link
Contributor

iMoe037 commented Jun 26, 2017

This error usually happens when going from one ayah to the next. Two states are being maintained one isPlaying in the Redux store, and another state within the store. It's one of the properties (it starts or contains the word media). Judging by this stackoverflowhttps://stackoverflow.com/questions/36803176/how-to-prevent-the-play-request-was-interrupted-by-a-call-to-pause-error. On the pause redux action we need to check if the media object is playing before we call the pause function.

@naveed-ahmad
Copy link
Contributor Author

@iMoe037 JAK for debugging, feel free to take this task.

@mannanali413
Copy link
Contributor

@naveed-ahmad @iMoe037 i guess this task is open. I can take this up

@iMoe037
Copy link
Contributor

iMoe037 commented Jul 29, 2017

@mannanali413 go for it.

@bahaa96
Copy link
Contributor

bahaa96 commented Jul 20, 2018

Is this still open ??

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

No branches or pull requests

4 participants