-
Notifications
You must be signed in to change notification settings - Fork 44
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
Uncaught (in promise) DOMException #16
Comments
Use playevent and ready events to make sure it's in the right state (loaded
and playing states). With the napster sdk, you have to manage the player's
state yourself. Just pay attention to the events, set/check variables of
its state, and then call back to the next action. Avoid the urge to do
something hacking like using setInterval to make sure it's ready.
…On Sat, Apr 20, 2019 at 10:15 AM kerem ***@***.***> wrote:
I am getting the following exception in the developer console when running
the example app:
Uncaught (in promise) DOMException
load (async)
n @ streaming-player.js?_=1555780103494:8
E @ streaming-player.js?_=1555780103494:7
b @ streaming-player.js?_=1555780103494:7
w @ streaming-player.js?_=1555780103494:10
Je @ streaming-player.js?_=1555780103494:10
Tn @ streaming-player.js?_=1555780103494:8
on @ streaming-player.js?_=1555780103494:8
e @ streaming-player.js?_=1555780103494:9
e @ streaming-player.js?_=1555780103494:9
e.setSource @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
ii @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:34
ii @ streaming-player.js?_=1555780103494:27
ii @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
(anonymous) @ streaming-player.js?_=1555780103494:27
setTimeout (async)
e @ streaming-player.js?_=1555780103494:27
Kn @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:27
e @ streaming-player.js?_=1555780103494:10
(anonymous) @ streaming-player.js?_=1555780103494:10
Promise.then (async)
e @ streaming-player.js?_=1555780103494:10
e.play @ napster.min.js:formatted:152
(anonymous) @ client.html?accessTo…3a7-fd7989e1ff3a:80
dispatch @ jquery-1.11.0.min.js:3
r.handle @ jquery-1.11.0.min.js:3
While I am unable to reproduce it 100%, I notice it happening when I pause
one song and start another one as fast as I can. This way, I can
consistently and frequently reproduce.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#16>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFFWP2YHVRGYUQEJIK2UQDPRNFTZANCNFSM4HHKCDAA>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting the following exception in the developer console when running the example app:
While I am unable to reproduce it 100%, I notice it happening when I pause one song and start another one as fast as I can. This way, I can consistently and frequently reproduce.
The text was updated successfully, but these errors were encountered: