You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
If it weren't for the fact that your use case has no plugins loaded, I would think that it may or may not be related to videojs/generator-videojs-plugin#193
I am using requireJs with Backbone, for me it worked after amdfying videojs as following
Create a new file named videoJsAmd, and inside the file added the following code
define(['libs/videojs/video.min'], function(videojs){
return videojs;
});
Referenced the videoJsAmd in require.confg as following
require.config({
baseUrl: "/ClientCode/Scripts/",
shim: {
"libs/backbone/backbone": {
deps: ["libs/underscore/underscore", "libs/jquery/jquery.min"],
exports: "Backbone"
},
"libs/jquery.tmpl/jquery.tmpl.min": ["libs/jquery/jquery.min"]
},
paths: {
jqueryAMD: 'libs/jquery/jquery.amd',
underscoreAMD: 'libs/underscore/underscore.amd',
backboneAMD: 'libs/backbone/backbone.amd',
videoJsAMD: 'libs/videoJsAmd'
}
});
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I'm trying to integrate videojs into a Moodle environment. That has dependency require.js.
I'm getting the error:
I believe it's something related to the loader of require.js
I saw that the problem was mentioned earlier at #2724
Reduced test case in this feddle.
The text was updated successfully, but these errors were encountered: