From 10d65ed7577fa1e361069f118b9e56b206d1c212 Mon Sep 17 00:00:00 2001 From: cycjimmy Date: Wed, 8 Jan 2025 06:04:42 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20cycjimmy?= =?UTF-8?q?/h5-video-player@81da6be19df780fb8687e94175e10b77a913bafa=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- h5-video-player.umd.js | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/h5-video-player.umd.js b/h5-video-player.umd.js index 430b9ef..8345727 100644 --- a/h5-video-player.umd.js +++ b/h5-video-player.umd.js @@ -10,20 +10,20 @@ function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; - o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); + o.enumerable = o.enumerable || false, o.configurable = true, "value" in o && (o.writable = true), Object.defineProperty(e, _toPropertyKey(o.key), o); } } function _createClass(e, r, t) { - return r && _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { - writable: !1 + return _defineProperties(e.prototype, r), Object.defineProperty(e, "prototype", { + writable: false }), e; } function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, - enumerable: !0, - configurable: !0, - writable: !0 + enumerable: true, + configurable: true, + writable: true }) : e[r] = t, e; } function ownKeys(e, r) { @@ -39,7 +39,7 @@ function _objectSpread2(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; - r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { + r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); @@ -50,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; - if (void 0 !== e) { + if (undefined !== e) { var i = e.call(t, r); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); @@ -169,7 +169,7 @@ }); function styleInject(css, ref) { - if (ref === void 0) ref = {}; + if (ref === undefined) ref = {}; var insertAt = ref.insertAt; if (typeof document === 'undefined') { return; @@ -223,27 +223,27 @@ */ function H5VideoPlayer(source, _ref) { var _ref$context = _ref.context, - context = _ref$context === void 0 ? 'body' : _ref$context, + context = _ref$context === undefined ? 'body' : _ref$context, _ref$control = _ref.control, - control = _ref$control === void 0 ? false : _ref$control, + control = _ref$control === undefined ? false : _ref$control, _ref$autoPlay = _ref.autoPlay, - autoPlay = _ref$autoPlay === void 0 ? false : _ref$autoPlay, + autoPlay = _ref$autoPlay === undefined ? false : _ref$autoPlay, _ref$autoClose = _ref.autoClose, - autoClose = _ref$autoClose === void 0 ? true : _ref$autoClose, + autoClose = _ref$autoClose === undefined ? true : _ref$autoClose, _ref$preload = _ref.preload, - preload = _ref$preload === void 0 ? true : _ref$preload, + preload = _ref$preload === undefined ? true : _ref$preload, _ref$orientation = _ref.orientation, - orientation = _ref$orientation === void 0 ? 'portrait' : _ref$orientation, + orientation = _ref$orientation === undefined ? 'portrait' : _ref$orientation, _ref$aspectRatio = _ref.aspectRatio, - aspectRatio = _ref$aspectRatio === void 0 ? 0 : _ref$aspectRatio, + aspectRatio = _ref$aspectRatio === undefined ? 0 : _ref$aspectRatio, _ref$disableRotation = _ref.disableRotation, - disableRotation = _ref$disableRotation === void 0 ? false : _ref$disableRotation, + disableRotation = _ref$disableRotation === undefined ? false : _ref$disableRotation, _ref$picMode = _ref.picMode, - picMode = _ref$picMode === void 0 ? false : _ref$picMode, + picMode = _ref$picMode === undefined ? false : _ref$picMode, _ref$fixAndroidWechat = _ref.fixAndroidWechatContinue, - fixAndroidWechatContinue = _ref$fixAndroidWechat === void 0 ? false : _ref$fixAndroidWechat, + fixAndroidWechatContinue = _ref$fixAndroidWechat === undefined ? false : _ref$fixAndroidWechat, _ref$hooks = _ref.hooks, - hooks = _ref$hooks === void 0 ? {} : _ref$hooks; + hooks = _ref$hooks === undefined ? {} : _ref$hooks; _classCallCheck(this, H5VideoPlayer); this.context = isString(context) ? document.querySelector(context) : context; this.options = {