Open synaesthesia opened 6 years ago
Hi,
in the error handler:
// listen to error events coming from the video tag el.addEventListener('error', function(e) {
line https://github.com/Peer5/videojs-contrib-hls.js/blob/9e1faddae5adbd27860b602376a705c793d5ff71/src/videojs.hlsjs.js#L55
I don't know why, but sometimes mediaError can be null.
mediaError
Maybe could you just check if mediaError is not null before doing the comparaison ?
Hi,
in the error handler:
line https://github.com/Peer5/videojs-contrib-hls.js/blob/9e1faddae5adbd27860b602376a705c793d5ff71/src/videojs.hlsjs.js#L55
I don't know why, but sometimes
mediaError
can be null.Maybe could you just check if
mediaError
is not null before doing the comparaison ?