- Issue created by @pascuperbla
Load the library from the local library directory instead of the CDN.
To load the video.js library from local you have to do two steps:
{
"type": "package",
"package": {
"name": "videojs/video.js",
"version": "8.17.4",
"type": "drupal-library",
"extra": {
"installer-name": "video.js"
},
"dist": {
"url": "https://github.com/videojs/video.js/releases/download/v8.17.4/video-js-8.17.4.zip",
"type": "zip"
},
"license": "MIT"
}
}
and then run the following command: composer require videojs/video.js
Needs review
3.0
Code