@lazycatcloud/lzc-video-player 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { openBlock as u, createElementBlock as d, pushScopeId as Q, popScopeId as H, createElementVNode as o, ref as f, computed as S, defineComponent as x, normalizeClass as y, withModifiers as w, createBlock as $, unref as i, isRef as X, withCtx as B, toDisplayString as g, createCommentVNode as k, useCssVars as Y, onMounted as Z, nextTick as ee, onUnmounted as te, watchEffect as se, createVNode as h, Fragment as I, renderList as le, createTextVNode as V } from "vue";
2
- import { _ as D, Q as T, a as ne, E as U, u as ie, r as ue, b as oe, c as ae, f as K, g as ce } from "./lzc-video-player.aab1a80a.js";
2
+ import { _ as D, Q as T, a as ne, E as U, u as ie, r as ue, b as oe, c as ae, f as K, g as ce } from "./lzc-video-player.f997f06d.js";
3
3
  import "pinia";
4
4
  const de = {}, re = (e) => (Q("data-v-7a0e044b"), e = e(), H(), e), _e = /* @__PURE__ */ re(() => /* @__PURE__ */ o("ul", null, [
5
5
  /* @__PURE__ */ o("li", { class: "m1" }),
@@ -24432,7 +24432,7 @@ const activePage = ref(""), _hoisted_1$6 = ["onClick"], _hoisted_2$4 = { class:
24432
24432
  modal: null
24433
24433
  },
24434
24434
  setup(e) {
24435
- const t = e, n = defineAsyncComponent(() => import("./list.9e425809.js")), a = defineAsyncComponent(() => import("./playrate.c6b4c022.js")), r = defineAsyncComponent(() => import("./resolution.cf47c52d.js")), o = () => {
24435
+ const t = e, n = defineAsyncComponent(() => import("./list.cb1a2d7e.js")), a = defineAsyncComponent(() => import("./playrate.7f3ee878.js")), r = defineAsyncComponent(() => import("./resolution.3b0f5b77.js")), o = () => {
24436
24436
  t.modal.opened() && (activePage.value = "", t.modal.close());
24437
24437
  };
24438
24438
  return t.player.on("openVideo", o), (s, u) => (openBlock(), createElementBlock("div", {
@@ -58668,7 +58668,7 @@ const _hoisted_1 = ["onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
58668
58668
  let a;
58669
58669
  const r = ref(null);
58670
58670
  function o() {
58671
- a.userActive_ && a.userActive(!1);
58671
+ a.hasClass("vjs-user-active") ? (a.removeClass("vjs-user-active"), a.addClass("vjs-user-inactive")) : (a.removeClass("vjs-user-inactive"), a.addClass("vjs-user-active"));
58672
58672
  }
58673
58673
  return onMounted(async () => {
58674
58674
  const s = useHistoryInfo(), u = document.createElement("meta");
@@ -58698,6 +58698,7 @@ const _hoisted_1 = ["onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
58698
58698
  useBandwidthFromLocalStorage: !0
58699
58699
  }
58700
58700
  },
58701
+ inactivityTimeout: 1e4,
58701
58702
  bigPlayButton: !0,
58702
58703
  children: [
58703
58704
  "MediaLoader",