Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ziodave opened this issue Jan 11, 2016 · 0 comments
Open

Comments

@ziodave
Copy link

ziodave commented Jan 11, 2016

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')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant