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

How to prevent "The play() request was interrupted by a call to pause()" error? #7

Open
chadul opened this issue Jul 29, 2018 · 3 comments

Comments

@chadul
Copy link

chadul commented Jul 29, 2018

It's ok for the css, but not in "real" audio player.
I mean it's ok if user click on the song lists the play icon replaced with pause icon event the audio file is not yet loaded properly but it's will causing error javascript

@zirafa
Copy link
Owner

zirafa commented Jul 30, 2018

Without knowing more, this sounds like a css/js loading issue -- try loading the pushtape-player.js script earlier. Otherwise can you provide more details / steps so I can try and reproduce the error?

@chadul
Copy link
Author

chadul commented Jul 30, 2018

Imagine if user click the song in playlist but get wrong song and then immediately click on other song before the first clickeng song is loaded and playing, it's ok in web server but I got error if in Cordova while building Android app.

@chadul
Copy link
Author

chadul commented Aug 1, 2018

It seems related scottschiller/SoundManager2#164

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