Your parameters are bound to modules in the same order as how you list them in the requirements so when you do this:
define([
'jquery',
'bootstrap',
'imager',
'video'
],
function($, Imager) {
you are binding Imager
to the value of the 'bootstrap'
module. Change the order:
define([
'jquery',
'imager',
'bootstrap',
'video'
],
function($, Imager) {
I also considered whether you'd need a shim for Imager but I see in their code that they detect an AMD environment and call define
.