videojs / videojs-contrib-hls

HLS library for video.js
http://videojs.github.io/videojs-contrib-hls/
Other
2.84k stars 793 forks source link

VIDEOJS: ERROR: TypeError: Cannot read property 'playlist' of undefined #1267

Closed ahmadawada11 closed 7 years ago

ahmadawada11 commented 7 years ago

I got a exception when I am changing the resolution several time. For example, if my list has 2 resolutions which are A and B. If I selected A and then B, and then selected A the exception will be thrown as the following:

VIDEOJS: ERROR: TypeError: Cannot read property 'playlist' of undefined

I am using videojs version 6.2.7, contrib-quality-level, hls-source-selector and hls version 5.11.0 plugins.

this error doesn't happen with hls version 5.7.0

ahmadawada11 commented 7 years ago

the changes solved the issue did this fix included in v5.11.1?

mjneil commented 7 years ago

No sorry, the fix is still being reviewed/tested

mjneil commented 7 years ago

The fix has been released in v5.12.0. Closing this issue for now, please re-open or submit a new one if you continue to experience issues.