diff --git a/core/constants.js b/core/constants.js index 59c4fbf9..0700f68b 100644 --- a/core/constants.js +++ b/core/constants.js @@ -223,6 +223,7 @@ const Links = { */ const FrameworkAndBundle = { 'resources/anchor-js/4.2.2/': 'AnchorJS', + 'resources/plyr/3.5.10/': 'Plyr', 'resources/swiper/5.4.2/': 'Swiper', 'resources/select2/4.0.12/': 'Select2', 'resources/element-ui/2.13.2/': 'ElementUI', @@ -263,6 +264,7 @@ const CDNs = { 'gitcdn.github.io': 'GitHub', 'cdn.bootcdn.net': 'BootCDN #2', 'vjs.zencdn.net': 'Video.js CDN', + 'cdn.plyr.io': 'Plyr CDN' }; // Supported charsets for TextDecoder() diff --git a/core/mappings.js b/core/mappings.js index 75b01599..7836b21c 100644 --- a/core/mappings.js +++ b/core/mappings.js @@ -29,7 +29,7 @@ var mappings = {}; * This only needs to be updated when new domains are added. * It's not necessary for subdirectories! */ -mappings.lastMappingUpdate = '2020-10-26'; +mappings.lastMappingUpdate = '2020-11-08'; mappings.cdn = { @@ -862,6 +862,12 @@ mappings.cdn = { '{version}/video.min.js': resources.videoJS } }, + // Plyr CDN + 'cdn.plyr.io': { + '/': { + '{version}/plyr.svg': resources.plyrSVG + } + } }; // Geekzu Public Service [Mirror] diff --git a/core/resources.js b/core/resources.js index b324de73..b82a5f3b 100644 --- a/core/resources.js +++ b/core/resources.js @@ -665,6 +665,10 @@ var resources = { 'path': 'resources/plyr/{version}/plyr.min.jsm', 'type': 'application/javascript' }, + 'plyrSVG': { + 'path': 'resources/plyr/{version}/plyr.svg', + 'type': 'image/svg+xml' + }, // Popper 'popperJS': { 'path': 'resources/popper.js/{version}/umd/popper.min.jsm', diff --git a/modules/internal/targets.js b/modules/internal/targets.js index c305eb20..daac9714 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -562,6 +562,7 @@ const ListOfFiles = { 'page.min.jsm': 'page.js', 'plyr.min.css': 'plyr (CSS)', 'plyr.min.jsm': 'plyr (JS)', + 'plyr.svg': 'plyr (SVG)', 'popper.min.jsm': 'Popper', 'prototype.jsm': 'Prototype', 'raven.min.jsm': 'Raven.js', diff --git a/pages/updates/updates.html b/pages/updates/updates.html index a0c309a8..9a151591 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -29,6 +29,8 @@
  • Added: algoliasearch v4.6.0
  • Updated: AnchorJS v4.2.2 -> v4.3.0
  • Added: AnchorJS by cdn.jsdelivr.net
  • +
  • Added: plyr SVG (#165)
  • +
  • Added CDN: cdn.plyr.io (#165)
  • diff --git a/resources/plyr/3.6.2/plyr.svg b/resources/plyr/3.6.2/plyr.svg new file mode 100644 index 00000000..62ab2579 --- /dev/null +++ b/resources/plyr/3.6.2/plyr.svg @@ -0,0 +1 @@ + \ No newline at end of file