mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
add PlayerJS v19.9.25 (#1652)
This commit is contained in:
@@ -1782,6 +1782,7 @@ https://fonts.gstatic.com/s/materialiconstwotone/v112/hESh6WRmNCxEqUmNyh3JDeGxjV
|
|||||||
https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
|
https://fonts.gstatic.com/s/materialicons/v143/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2
|
||||||
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css
|
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.no-icons.min.css
|
||||||
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js
|
https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js
|
||||||
|
https://raw.githubusercontent.com/cstkcstk/playerjs/refs/heads/main/playerjs.js
|
||||||
https://raw.githubusercontent.com/jquery-validation/jquery-validation/1.21.0/dist/jquery.validate.min.js
|
https://raw.githubusercontent.com/jquery-validation/jquery-validation/1.21.0/dist/jquery.validate.min.js
|
||||||
https://raw.githubusercontent.com/pagekit/vue-resource/1.5.3/dist/vue-resource.min.js
|
https://raw.githubusercontent.com/pagekit/vue-resource/1.5.3/dist/vue-resource.min.js
|
||||||
https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v2.8.94/css/materialdesignicons.min.css
|
https://raw.githubusercontent.com/Templarian/MaterialDesign-Webfont/v2.8.94/css/materialdesignicons.min.css
|
||||||
|
@@ -759,6 +759,8 @@ function create_url() {
|
|||||||
[ "$jfile" = "pure.min.css" ] && \
|
[ "$jfile" = "pure.min.css" ] && \
|
||||||
( [ "$version" = "0.6.2" ] || [ "$version" = "1.0.1" ] ); then
|
( [ "$version" = "0.6.2" ] || [ "$version" = "1.0.1" ] ); then
|
||||||
url="$CLOUDFLARE/$folder/$version/pure-min.css"
|
url="$CLOUDFLARE/$folder/$version/pure-min.css"
|
||||||
|
elif [ "$folder" = "playerjs" ]; then
|
||||||
|
url="$GITHUB/cstkcstk/playerjs/refs/heads/main/playerjs.js"
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
else
|
else
|
||||||
if [ "$subfile" = "$jfile" ]; then
|
if [ "$subfile" = "$jfile" ]; then
|
||||||
|
@@ -875,6 +875,10 @@ let resources = {
|
|||||||
'paginationjsCSS': {
|
'paginationjsCSS': {
|
||||||
'path': 'resources/paginationjs/{version}/pagination.min.css'
|
'path': 'resources/paginationjs/{version}/pagination.min.css'
|
||||||
},
|
},
|
||||||
|
// player.js
|
||||||
|
'playerJs': {
|
||||||
|
'path': 'resources/playerjs/{version}/playerjs.min.jsm'
|
||||||
|
},
|
||||||
// plyr CSS
|
// plyr CSS
|
||||||
'plyrCSS': {
|
'plyrCSS': {
|
||||||
'path': 'resources/plyr/{version}/plyr.min.css'
|
'path': 'resources/plyr/{version}/plyr.min.css'
|
||||||
|
@@ -190,6 +190,15 @@ shorthands.specialFiles = function (channelHost, channelPath, searchString) {
|
|||||||
'path': `resources/materialize/1.0.0/${channelPath}`,
|
'path': `resources/materialize/1.0.0/${channelPath}`,
|
||||||
'bundle': 'Materialize'
|
'bundle': 'Materialize'
|
||||||
};
|
};
|
||||||
|
} else if (CompleteURL === 'cdn.jsdelivr.net/gh/cstkcstk/playerjs@main/playerjs.js') {
|
||||||
|
lastVersion = targets.setLastVersion('/playerjs/');
|
||||||
|
return {
|
||||||
|
'source': channelHost,
|
||||||
|
'versionDelivered': lastVersion,
|
||||||
|
'versionRequested': 'latest',
|
||||||
|
'path': `resources/playerjs/${lastVersion}/playerjs.min.jsm`,
|
||||||
|
'bundle': ''
|
||||||
|
};
|
||||||
} else if (CompleteURL === 'cdn.jsdelivr.net/npm/vue@2') {
|
} else if (CompleteURL === 'cdn.jsdelivr.net/npm/vue@2') {
|
||||||
lastVersion = targets.setLastVersion('/vue/2.');
|
lastVersion = targets.setLastVersion('/vue/2.');
|
||||||
if (lastVersion === '') {
|
if (lastVersion === '') {
|
||||||
|
@@ -378,6 +378,7 @@ targets.setLastVersion = function (type, version) {
|
|||||||
if (type.startsWith('/p5.js/1.')) return '1.11.2';
|
if (type.startsWith('/p5.js/1.')) return '1.11.2';
|
||||||
if (type.startsWith('/page.js/1.')) return '1.11.6';
|
if (type.startsWith('/page.js/1.')) return '1.11.6';
|
||||||
if (type.startsWith('/paginationjs/2.')) return '2.6.0';
|
if (type.startsWith('/paginationjs/2.')) return '2.6.0';
|
||||||
|
if (type.startsWith('/playerjs/')) return '19.9.25';
|
||||||
if (type.startsWith('/plyr/3.')) return '3.7.8';
|
if (type.startsWith('/plyr/3.')) return '3.7.8';
|
||||||
if (type.startsWith('/popper.js/1.')) return '1.16.1';
|
if (type.startsWith('/popper.js/1.')) return '1.16.1';
|
||||||
if (type.startsWith('/popper.js/2.')) return '2.11.8';
|
if (type.startsWith('/popper.js/2.')) return '2.11.8';
|
||||||
@@ -526,6 +527,7 @@ targets.determineResourceName = function (filename) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ListOfFiles = {
|
const ListOfFiles = {
|
||||||
|
'playerjs.min.jsm': 'PlayerJS',
|
||||||
'featherlight.min.css': 'featherlight (CSS)',
|
'featherlight.min.css': 'featherlight (CSS)',
|
||||||
'featherlight.min.jsm': 'featherlight (JS)',
|
'featherlight.min.jsm': 'featherlight (JS)',
|
||||||
'featherlight.gallery.min.css': 'featherlight Gallery (CSS)',
|
'featherlight.gallery.min.css': 'featherlight Gallery (CSS)',
|
||||||
|
@@ -25,9 +25,9 @@
|
|||||||
<h2>New in LocalCDN:</h2>
|
<h2>New in LocalCDN:</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="release-notes-area">
|
<div class="release-notes-area">
|
||||||
<p></p>
|
<p>Added</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li></li>
|
<li>PlayerJS v19.9.25 (<a href="https://codeberg.org/nobody/LocalCDN/issues/1652">#1652</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
|
6
resources/playerjs/19.9.25/playerjs.min.jsm
Normal file
6
resources/playerjs/19.9.25/playerjs.min.jsm
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user