Skip to content

Commit

Permalink
Deploying to gh-pages from @ 81da6be 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
cycjimmy committed Jan 8, 2025
1 parent 1cf1037 commit 10d65ed
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions h5-video-player.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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));
Expand All @@ -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.");
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit 10d65ed

Please sign in to comment.