-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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: The play() request was interrupted by a call to pause(). #1372
Comments
Waking my computer, after loading a video and doing the handshake on Friday, also seemed to leave the video in the same state and caused the same issue. |
So this is a guess ..... Since I saw this with clearkeys that failed to auth. |
Noticed this last week with unprotected content but cant remember exact circumstances. I haven't read up on the new spec but suspect we could probably check the return type of relevant methods (play, pause, load etc) and, if it's a Promise, just stick an empty .catch on the end? |
@chemoish does changing
|
I am out of town, but I will check when I get back. Thanks! |
Error still exists, in the console, when toggling the play/pause. No error is surfaced up to
Maybe I am doing something wrong? (At least something changed between |
Fixes #1372 - catch pending play request exceptions
I still this issue with v2.2.0. Is this not addressed as part of the 2.2? |
I can see the fix in https://github.com/Dash-Industry-Forum/dash.js/blob/master/src/streaming/controllers/PlaybackController.js#L118, so it was addressed. We'll need more information on how you're seeing it if you believe you still are. |
For info, I've just published an article about this exact issue at https://developers.google.com/web/updates/2017/06/play-request-was-interrupted that tells you exactly what is happening and how to fix it. |
Dash#2.2.0
OSX#10.10.5
Chrome#50.0.2661
Source:
samples/dash-if-reference-player/app/sources.js
serverURL
MUST throw a 500 on license acquisition.http://localhost:3000/samples/dash-if-reference-player/eme.html
This uncaught exception breaks integration with
video.js
(my use case which is unrecoverable—requires a hard refresh).I don't know how to trace the exception given the screenshot, but if I comment out
PlaybackController.js:130
:The exception no longer fires (but now you cannot pause).
Potential reference material:
Thanks.
The text was updated successfully, but these errors were encountered: