1
0
mirror of https://codeberg.org/nobody/LocalCDN.git synced 2025-06-05 21:49:31 +02:00

Added: Video.js v5.20.5, v6.13.0, v7.10.1 (#155)

This commit is contained in:
nobody
2020-10-27 05:48:11 +01:00
parent e5d4e3e72f
commit bd0712a4ee
10 changed files with 67 additions and 0 deletions

View File

@@ -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',