Compare native error with plyr implimentation.
http://codepen.io/Skwai/pen/ygZVLq
The player.on('error', ...) event isn't fired for a source that 404s
I want to add... In case when I try to open video which was deleted, I see the different behavior for youtube and vimeo:
youtube: player.on('error', ...) is fired
vimeo: player.on('error', ...) is NOT fired, but exception in promise is thrown
Expected behavior:
Fired error event with the same error code for youtube and vimeo, if video is unavailable. No error exception is thrown
Browser and OS:
Chrome 61.0.3163.100 (Official Build) (64-bit), macOS SIerra 10.12.6 (16G29)
Closing this one as I think it's fixed but feel free to re-open if not solved in v3 馃憤
I'm not able to get this working in v3
404s don't seem to be triggering errors. Am I doing anything wrong?
this.playerInstance.on('error', (event) => {
console.log('ERROR: '+event)
});
I'm facing the same issue but it is inconsistent .
Most helpful comment
I want to add... In case when I try to open video which was deleted, I see the different behavior for youtube and vimeo:
youtube:
player.on('error', ...)is firedvimeo:
player.on('error', ...)is NOT fired, but exception in promise is thrownExpected behavior:
Fired error event with the same error code for youtube and vimeo, if video is unavailable. No error exception is thrown
Browser and OS:
Chrome 61.0.3163.100 (Official Build) (64-bit), macOS SIerra 10.12.6 (16G29)