Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().
Created by: chemoish
Dash#2.2.0 OSX#10.10.5 Chrome#50.0.2661
Source:
{
"name": "My Test",
"submenu": [{
"name": "Widevine",
"url": "http://html5.cablelabs.com:8100/cenc/wv/dash.mpd", // reuse MPD
"browsers": "",
"protData": {
"com.widevine.alpha": {
"serverURL": "..."
}
}
}]
},
- Add new source to
samples/dash-if-reference-player/app/sources.js
-
serverURL
MUST throw a 500 on license acquisition. - Load source from
http://localhost:3000/samples/dash-if-reference-player/eme.html
- See uncaught error occur
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
:
function pause() {
if (!element) return;
// element.pause();
element.autoplay = false;
}
The exception no longer fires (but now you cannot pause).
Potential reference material:
- http://stackoverflow.com/questions/36803176/how-to-prevent-the-play-request-was-interrupted-by-a-call-to-pause-error
- https://bugs.chromium.org/p/chromium/issues/detail?id=593273
Thanks.