Added: Video.js v5.20.5, v6.13.0, v7.10.1 (#155)
This commit is contained in:
parent
e5d4e3e72f
commit
bd0712a4ee
|
@ -72,6 +72,7 @@ mappings.cdn = {
|
|||
'/ajax/': {
|
||||
'jQuery/jquery-{version}.': resources.jQuery,
|
||||
'jquery/jquery-{version}.': resources.jQuery,
|
||||
'jquery.validate/{version}/jquery.validate.': resources.jqueryValidationPlugin,
|
||||
'modernizr/modernizr-{version}.': resources.modernizr,
|
||||
'bootstrap/{version}/bootstrap.min.': resources.bootstrapJS
|
||||
}
|
||||
|
@ -842,6 +843,8 @@ mappings.cdn = {
|
|||
// vjs.zencdn.net
|
||||
'vjs.zencdn.net': {
|
||||
'/': {
|
||||
'{version}/video-js.min.css': resources.videoJScss,
|
||||
'{version}/video.min.js': resources.videoJS
|
||||
}
|
||||
},
|
||||
};
|
||||
|
|
|
@ -801,6 +801,15 @@ var resources = {
|
|||
'path': 'resources/videojs-seek-buttons/{version}/videojs-seek-buttons.min.css',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// video.js
|
||||
'videoJS': {
|
||||
'path': 'resources/video.js/{version}/video.min.jsm',
|
||||
'type': 'application/javascript'
|
||||
},
|
||||
'videoJScss': {
|
||||
'path': 'resources/video.js/{version}/video-js.min.css',
|
||||
'type': 'text/css'
|
||||
},
|
||||
// Vue.js
|
||||
'vueJs': {
|
||||
'path': 'resources/vue/{version}/vue.min.jsm',
|
||||
|
|
|
@ -603,6 +603,10 @@ helpers.setLastVersion = function (type, version) {
|
|||
return '17.1.0';
|
||||
} else if (type.includes('/videojs-seek-buttons/')) {
|
||||
return '1.6.0';
|
||||
} else if (type.includes('/video.js/')) {
|
||||
if (helpers.compareVersion('5.20.5', version)) return '5.20.5'; // <= 5.20.5
|
||||
else if (helpers.compareVersion('6.13.0', version)) return '6.13.0'; // > 5.20.5 to <= 6.13.0
|
||||
else return '7.10.1'; // > 7.10.1
|
||||
} else if (type.includes('/vue/1.')) {
|
||||
return '1.0.28';
|
||||
} else if (type.includes('/vue/2.')) {
|
||||
|
@ -643,6 +647,8 @@ helpers.compareVersion = function (v1, v2) {
|
|||
};
|
||||
|
||||
const ListOfFiles = {
|
||||
'video-js.min.css': 'Video.js (CSS)',
|
||||
'video.min.jsm': 'Video.js (JS)',
|
||||
'cookieconsent.min.css': 'Cookie Consent (CSS)',
|
||||
'cookieconsent.min.jsm': 'Cookie Consent (JS)',
|
||||
'markdown-it.min.jsm': 'markdown-it',
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
<li>Added: Cookie Consent v3.1.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/153">#153</a>)</li>
|
||||
<li>Updated: Select2 v4.0.12 -> v4.0.13 (<a href="https://codeberg.org/nobody/LocalCDN/issues/155">#155</a>)</li>
|
||||
<li>New CDN: 'vjs.zencdn.net' (<a href="https://codeberg.org/nobody/LocalCDN/issues/155">#155</a>)</li>
|
||||
<li>Added: Video.js v5.20.5, v6.13.0, v7.10.1 (<a href="https://codeberg.org/nobody/LocalCDN/issues/155">#155</a>)</li>
|
||||
</ul>
|
||||
<div id="generator-section">
|
||||
<div class="topic-label">
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue