From 09a7edf2a897b7d208cb3fa6a435e2dcbecf1662 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Mon, 18 Mar 2024 10:10:02 -0500 Subject: [PATCH 1/2] Upgrade video.js --- config/importmap.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/importmap.rb b/config/importmap.rb index aa5434be..174de070 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -13,7 +13,7 @@ # pin "modules/embed_this", to: "app/javascript/src/modules/embed_this.js" pin_all_from 'app/javascript/src', under: 'src', to: 'src' -pin "video.js", to: "https://ga.jspm.io/npm:video.js@8.9.0/dist/video.es.js" +pin "video.js", to: "https://ga.jspm.io/npm:video.js@8.11.8/dist/video.es.js" pin "@babel/runtime/helpers/extends", to: "https://ga.jspm.io/npm:@babel/runtime@7.24.0/helpers/esm/extends.js" pin "@videojs/vhs-utils/es/byte-helpers", to: "https://ga.jspm.io/npm:@videojs/vhs-utils@4.1.0/es/byte-helpers.js" pin "@videojs/vhs-utils/es/containers", to: "https://ga.jspm.io/npm:@videojs/vhs-utils@4.1.0/es/containers.js" @@ -32,11 +32,12 @@ pin "m3u8-parser", to: "https://ga.jspm.io/npm:m3u8-parser@7.1.0/dist/m3u8-parser.es.js" pin "min-document", to: "https://ga.jspm.io/npm:min-document@2.19.0/index.js" pin "mpd-parser", to: "https://ga.jspm.io/npm:mpd-parser@1.3.0/dist/mpd-parser.es.js" -pin "mux.js/lib/tools/parse-sidx", to: "https://ga.jspm.io/npm:mux.js@7.0.2/lib/tools/parse-sidx.js" -pin "mux.js/lib/utils/clock", to: "https://ga.jspm.io/npm:mux.js@7.0.2/lib/utils/clock.js" +pin "mux.js/lib/tools/parse-sidx", to: "https://ga.jspm.io/npm:mux.js@7.0.3/lib/tools/parse-sidx.js" +pin "mux.js/lib/utils/clock", to: "https://ga.jspm.io/npm:mux.js@7.0.3/lib/utils/clock.js" pin "safe-json-parse/tuple", to: "https://ga.jspm.io/npm:safe-json-parse@4.0.0/tuple.js" pin "url-toolkit", to: "https://ga.jspm.io/npm:url-toolkit@2.2.5/src/url-toolkit.js" pin "videojs-vtt.js", to: "https://ga.jspm.io/npm:videojs-vtt.js@0.15.5/lib/browser-index.js" + pin "openseadragon", to: "https://ga.jspm.io/npm:openseadragon@4.1.0/build/openseadragon/openseadragon.js" pin "fscreen", to: "https://ga.jspm.io/npm:fscreen@1.2.0/dist/fscreen.cjs.js" pin "@google/model-viewer", to: "https://cdn.jsdelivr.net/npm/@google/model-viewer/dist/model-viewer-module.min.js" From 37eddb59d19994c8d1a48b266304ae1c340c27bf Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Thu, 18 Apr 2024 13:36:18 -0500 Subject: [PATCH 2/2] Upgrade video.js to 8.12.0 --- config/importmap.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/importmap.rb b/config/importmap.rb index 174de070..5d4258b3 100644 --- a/config/importmap.rb +++ b/config/importmap.rb @@ -13,8 +13,8 @@ # pin "modules/embed_this", to: "app/javascript/src/modules/embed_this.js" pin_all_from 'app/javascript/src', under: 'src', to: 'src' -pin "video.js", to: "https://ga.jspm.io/npm:video.js@8.11.8/dist/video.es.js" -pin "@babel/runtime/helpers/extends", to: "https://ga.jspm.io/npm:@babel/runtime@7.24.0/helpers/esm/extends.js" +pin "video.js", to: "https://ga.jspm.io/npm:video.js@8.12.0/dist/video.es.js" +pin "@babel/runtime/helpers/extends", to: "https://ga.jspm.io/npm:@babel/runtime@7.24.4/helpers/esm/extends.js" pin "@videojs/vhs-utils/es/byte-helpers", to: "https://ga.jspm.io/npm:@videojs/vhs-utils@4.1.0/es/byte-helpers.js" pin "@videojs/vhs-utils/es/containers", to: "https://ga.jspm.io/npm:@videojs/vhs-utils@4.1.0/es/containers.js" pin "@videojs/vhs-utils/es/decode-b64-to-uint8-array", to: "https://ga.jspm.io/npm:@videojs/vhs-utils@4.1.0/es/decode-b64-to-uint8-array.js"