From f1a0087d166221ed62bac32655d4ab44e8d649f4 Mon Sep 17 00:00:00 2001 From: nobody Date: Tue, 8 Jun 2021 08:03:41 +0200 Subject: [PATCH] Updated: videojs-seek-buttons v2.0.0 -> v2.0.1 (#503) --- THIRD_PARTY.txt | 4 ++-- modules/internal/targets.js | 2 +- pages/updates/updates.html | 1 + .../videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.css | 2 -- .../videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.css | 2 ++ .../{2.0.0 => 2.0.1}/videojs-seek-buttons.min.jsm | 4 ++-- 6 files changed, 8 insertions(+), 7 deletions(-) delete mode 100644 resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.css create mode 100644 resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.css rename resources/videojs-seek-buttons/{2.0.0 => 2.0.1}/videojs-seek-buttons.min.jsm (94%) diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index bc49d2b1..1f5866dd 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1599,8 +1599,8 @@ https://cdn.jsdelivr.net/npm/video.js@7.12.3/dist/video-js.min.css https://cdn.jsdelivr.net/npm/video.js@7.12.3/dist/video.min.js https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.css https://cdn.jsdelivr.net/npm/videojs-seek-buttons@1.6.0/dist/videojs-seek-buttons.min.js -https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.0.0/dist/videojs-seek-buttons.css -https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.0.0/dist/videojs-seek-buttons.min.js +https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.0.1/dist/videojs-seek-buttons.css +https://cdn.jsdelivr.net/npm/videojs-seek-buttons@2.0.1/dist/videojs-seek-buttons.min.js https://cdn.jsdelivr.net/npm/vue@1.0.28/dist/vue.min.js https://cdn.jsdelivr.net/npm/vue@2.6.13/dist/vue.min.js https://fonts.gstatic.com/s/materialicons/v88/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2 diff --git a/modules/internal/targets.js b/modules/internal/targets.js index c5681893..cebd8ae2 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -586,7 +586,7 @@ targets.setLastVersion = function (type, version) { } else if (type.startsWith('/videojs-seek-buttons/1.')) { return '1.6.0'; } else if (type.startsWith('/videojs-seek-buttons/2.')) { - return '2.0.0'; + return '2.0.1'; } else if (type.startsWith('/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 diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 501fc529..a8c8baf4 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -38,6 +38,7 @@
  • Updated: vue-i18n v8.24.3 -> v8.24.4 (#500)
  • Added: fastclick v1.0.6 (#501)
  • Added: jquery-tiny-pubsub v0.7.0 (#502)
  • +
  • Updated: videojs-seek-buttons v2.0.0 -> v2.0.1 (#503)
  • diff --git a/resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.css b/resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.css deleted file mode 100644 index da321d01..00000000 --- a/resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.css +++ /dev/null @@ -1,2 +0,0 @@ -/*! @name videojs-seek-buttons @version 2.0.0 @license Apache-2.0 */ -.video-js .vjs-seek-button{font-family:'VideoJS';cursor:pointer;font-weight:400;font-style:normal}.video-js .vjs-seek-button.skip-back::before,.video-js.vjs-v6 .vjs-seek-button.skip-back .vjs-icon-placeholder::before,.video-js.vjs-v7 .vjs-seek-button.skip-back .vjs-icon-placeholder::before{transform:rotate(-45deg);-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);content:'\f116'}.video-js .vjs-seek-button.skip-forward::before,.video-js.vjs-v6 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before,.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before{transform:rotateY(180deg) rotate(-45deg);-ms-transform:rotateY(180deg) rotate(-45deg);-webkit-transform:rotateY(180deg) rotate(-45deg);content:'\f116'}.video-js.vjs-v6 .vjs-seek-button.skip-back::before,.video-js.vjs-v6 .vjs-seek-button.skip-forward::before,.video-js.vjs-v7 .vjs-seek-button.skip-back::before,.video-js.vjs-v7 .vjs-seek-button.skip-forward::before{content:none} \ No newline at end of file diff --git a/resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.css b/resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.css new file mode 100644 index 00000000..47537a18 --- /dev/null +++ b/resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.css @@ -0,0 +1,2 @@ +/*! @name videojs-seek-buttons @version 2.0.1 @license Apache-2.0 */ +.video-js .vjs-seek-button{font-family:'VideoJS';cursor:pointer;font-weight:400;font-style:normal}.video-js .vjs-seek-button.skip-back::before,.video-js.vjs-v6 .vjs-seek-button.skip-back .vjs-icon-placeholder::before,.video-js.vjs-v7 .vjs-seek-button.skip-back .vjs-icon-placeholder::before{transform:rotate(-45deg);-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);content:'\f116'}.video-js .vjs-seek-button.skip-forward::before{transform:rotateY(180deg) rotate(-45deg);-ms-transform:rotateY(180deg) rotate(-45deg);-webkit-transform:rotateY(180deg) rotate(-45deg);content:'\f116'}.video-js.vjs-v6 .vjs-seek-button.skip-back::before,.video-js.vjs-v6 .vjs-seek-button.skip-forward::before,.video-js.vjs-v7 .vjs-seek-button.skip-back::before,.video-js.vjs-v7 .vjs-seek-button.skip-forward::before{content:none}.video-js.vjs-v6 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before,.video-js.vjs-v7 .vjs-seek-button.skip-forward .vjs-icon-placeholder::before{transform:scale(-1,1) rotate(-45deg);-ms-transform:scale(-1,1) rotate(-45deg);-webkit-transform:scale(-1,1) rotate(-45deg);content:'\f116'} \ No newline at end of file diff --git a/resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.jsm b/resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.jsm similarity index 94% rename from resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.jsm rename to resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.jsm index 5a16901c..6e0cb818 100644 --- a/resources/videojs-seek-buttons/2.0.0/videojs-seek-buttons.min.jsm +++ b/resources/videojs-seek-buttons/2.0.1/videojs-seek-buttons.min.jsm @@ -1,2 +1,2 @@ -/*! @name videojs-seek-buttons @version 2.0.0 @license Apache-2.0 */ -!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("video.js")):"function"==typeof define&&define.amd?define(["video.js"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).videojsSeekButtons=o(e.videojs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);function n(e,o,t){return e(t={path:o,exports:{},require:function(e,o){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==o&&t.path)}},t.exports),t.exports}var r=n((function(e){function o(t,n){return e.exports=o=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,n)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0})),s=n((function(e){e.exports=function(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,r(e,o)},e.exports.default=e.exports,e.exports.__esModule=!0})),i=t.default.getComponent("Button"),c={forwardIndex:1,backIndex:1},d=t.default.registerPlugin||t.default.plugin,u=function(e){var o=this;this.ready((function(){!function(e,o){e.addClass("vjs-seek-buttons"),o.forward&&o.forward>0&&(e.controlBar.seekForward=e.controlBar.addChild("seekButton",{direction:"forward",seconds:o.forward},o.forwardIndex)),o.back&&o.back>0&&(e.controlBar.seekBack=e.controlBar.addChild("seekButton",{direction:"back",seconds:o.back},o.backIndex))}(o,t.default.mergeOptions(c,e))}))};u.VERSION="2.0.0";var a=function(e){function o(o,t){var n;return"forward"===(n=e.call(this,o,t)||this).options_.direction?n.controlText(n.localize("Seek forward {{seconds}} seconds").replace("{{seconds}}",n.options_.seconds)):"back"===n.options_.direction&&n.controlText(n.localize("Seek back {{seconds}} seconds").replace("{{seconds}}",n.options_.seconds)),n}s(o,e);var t=o.prototype;return t.buildCSSClass=function(){return"vjs-seek-button skip-"+this.options_.direction+" skip-"+this.options_.seconds+" "+e.prototype.buildCSSClass.call(this)},t.handleClick=function(){var e=this.player_.currentTime();"forward"===this.options_.direction?this.player_.currentTime(e+this.options_.seconds):"back"===this.options_.direction&&this.player_.currentTime(e-this.options_.seconds)},o}(i);return t.default.registerComponent("SeekButton",a),d("seekButtons",u),u})); +/*! @name videojs-seek-buttons @version 2.0.1 @license Apache-2.0 */ +!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?module.exports=o(require("video.js")):"function"==typeof define&&define.amd?define(["video.js"],o):(e="undefined"!=typeof globalThis?globalThis:e||self).videojsSeekButtons=o(e.videojs)}(this,(function(e){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var t=o(e);function n(e,o,t){return e(t={path:o,exports:{},require:function(e,o){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==o&&t.path)}},t.exports),t.exports}var r=n((function(e){function o(t,n){return e.exports=o=Object.setPrototypeOf||function(e,o){return e.__proto__=o,e},e.exports.default=e.exports,e.exports.__esModule=!0,o(t,n)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0})),s=n((function(e){e.exports=function(e,o){e.prototype=Object.create(o.prototype),e.prototype.constructor=e,r(e,o)},e.exports.default=e.exports,e.exports.__esModule=!0})),i=t.default.getComponent("Button"),c={forwardIndex:1,backIndex:1},d=t.default.registerPlugin||t.default.plugin,u=function(e){var o=this;this.ready((function(){!function(e,o){e.addClass("vjs-seek-buttons"),o.forward&&o.forward>0&&(e.controlBar.seekForward=e.controlBar.addChild("seekButton",{direction:"forward",seconds:o.forward},o.forwardIndex)),o.back&&o.back>0&&(e.controlBar.seekBack=e.controlBar.addChild("seekButton",{direction:"back",seconds:o.back},o.backIndex))}(o,t.default.mergeOptions(c,e))}))};u.VERSION="2.0.1";var a=function(e){function o(o,t){var n;return"forward"===(n=e.call(this,o,t)||this).options_.direction?n.controlText(n.localize("Seek forward {{seconds}} seconds").replace("{{seconds}}",n.options_.seconds)):"back"===n.options_.direction&&n.controlText(n.localize("Seek back {{seconds}} seconds").replace("{{seconds}}",n.options_.seconds)),n}s(o,e);var t=o.prototype;return t.buildCSSClass=function(){return"vjs-seek-button skip-"+this.options_.direction+" skip-"+this.options_.seconds+" "+e.prototype.buildCSSClass.call(this)},t.handleClick=function(){var e=this.player_.currentTime();"forward"===this.options_.direction?this.player_.currentTime(e+this.options_.seconds):"back"===this.options_.direction&&this.player_.currentTime(e-this.options_.seconds)},o}(i);return t.default.registerComponent("SeekButton",a),d("seekButtons",u),u}));