We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The page will attempt to load %PATH%/video.js, which will fail, and the console will give the error Script error for "video.js", needed by: ima.
Script error for "video.js", needed by: ima
Even if a script was successfully retrieved, the console will instead give the error player.ima is not a function.
player.ima is not a function
Thankfully, the fix appears to be simple; references to require('video.js') and define(['video.js'], factory) need to be changed to videojs.
require('video.js')
define(['video.js'], factory)
videojs
Here is a minimal test case and the result of the above fix
The text was updated successfully, but these errors were encountered:
Thanks for the thorough debugging info - I'll try out this change and make sure it doesn't affect our non-require.js set-ups.
Sorry, something went wrong.
According to videojs/videojs-contrib-ads#399 (comment) the actual fix might involve something completely different
Hi @DoomTay, was this issue resolved through videojs-contrib-ads or is it something that still requires attention for the videojs-ima team?
I'm going to close this issue but please reopen if it is something we can work on.
ypavlotsky
No branches or pull requests
The page will attempt to load %PATH%/video.js, which will fail, and the console will give the error
Script error for "video.js", needed by: ima
.Even if a script was successfully retrieved, the console will instead give the error
player.ima is not a function
.Thankfully, the fix appears to be simple; references to
require('video.js')
anddefine(['video.js'], factory)
need to be changed tovideojs
.Here is a minimal test case and the result of the above fix
The text was updated successfully, but these errors were encountered: