videojs / videojs-contrib-hls

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

TypeError: undefined is not an object (evaluating 'new o.EventTarget') #1268

Closed clayjh closed 6 years ago

clayjh commented 7 years ago

Description

I started to get this error seemingly out of nowhere, it has caused all my tests to fail as soon as I visit the URL.

My quick fix was to set page.driver.browser.js_errors = false in each test setup

Output: TypeError: undefined is not an object (evaluating 'new o.EventTarget') TypeError: undefined is not an object (evaluating 'new o.EventTarget') at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:2 at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:2 at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:1 in r at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:1 at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:7 at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:7 at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:1 in r at https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-hls/5.11.0/videojs-contrib-hls.min.js:1 in e

videojs-contrib-hls 5.11.0, testing in Chrome

mjneil commented 7 years ago

Can you provide the error output using the un-minified script or create a reduced code example with our starter template?

gesinger commented 6 years ago

Closing for now. If you are still experiencing this issue with the latest version of videojs-contrib-hls, please re-open the issue and provide a reduced test case using this template. Thank you.