benjipott/videojs-hlsjs

ReferenceError: Can't find variable: videojs (lib/videojs-hlsjs.js:107)

Opened this issue · 0 comments

The qunit:files task fails for me with the following error. How can I fix this?

Thanks

Running "qunit:files" (qunit) task
Testing test/index.html .FF
>> global failure
>> Message: ReferenceError: Can't find variable: videojs
>> Actual: null
>> Expected: undefined
>> file://./lib/videojs-hlsjs.js:107

>> HlsJs - registers itself
>> Message: beforeEach failed on registers itself: 'undefined' is not an object (evaluating 'videojs.HlsJs')
>> Actual: null
>> Expected: undefined
>> TypeError: 'undefined' is not an object (evaluating 'videojs.HlsJs')

>> HlsJs - registers itself
>> Message: registered the plugin
>> Actual: undefined
>> Expected: true
>> at file://./node_modules/qunitjs/qunit/qunit.js:1462
>>   at file://./node_modules/qunitjs/qunit/qunit.js:2145
>>   at file://./test/videojs-hlsjs.test.js:53
>>   at runTest (file://./node_modules/qunitjs/qunit/qunit.js:903)
>>   at file://./node_modules/qunitjs/qunit/qunit.js:888
>>   at file://./node_modules/qunitjs/qunit/qunit.js:1030
>>   at process (file://./node_modules/qunitjs/qunit/qunit.js:691)
>>   at begin (file://./node_modules/qunitjs/qunit/qunit.js:673)
>>   at file://./node_modules/qunitjs/qunit/qunit.js:733

>> HlsJs - registers itself
>> Message: afterEach failed on registers itself: 'undefined' is not an object (evaluating 'videojs.HlsJs')
>> Actual: null
>> Expected: undefined
>> TypeError: 'undefined' is not an object (evaluating 'videojs.HlsJs')