@lazycatcloud/lzc-video-player 0.0.5 → 0.0.8

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,3 +1,2 @@
1
- export declare const vertical: import("vue").Ref<boolean>;
2
1
  export declare function formatTime(second: number): string;
3
2
  export declare function remHeight(rem: number, pixelRatio?: false): number;
@@ -1,2 +1,2 @@
1
1
  import type videojs from "video.js";
2
- export declare const makeVideoFrame: (player: videojs.Player) => Promise<Blob | null | undefined>;
2
+ export declare const makeVideoFrame: (player: videojs.Player) => Promise<Blob | null>;
@@ -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, b as ne, E as U, u as ie, r as ue, c as oe, d as ae, f as K, g as ce } from "./lzc-video-player.6ff297b1.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.66cbe30f.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" }),
@@ -116,7 +116,7 @@ const fe = /* @__PURE__ */ D(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { cla
116
116
  }, 8, ["model-value"]));
117
117
  }
118
118
  });
119
- const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) => (Q("data-v-4e728578"), e = e(), H(), e), be = { class: "list-top-bar" }, Ee = /* @__PURE__ */ M(() => /* @__PURE__ */ o("span", { class: "cancel-edit-text" }, "\u8BF7\u9009\u62E9", -1)), Fe = {
119
+ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) => (Q("data-v-519f4592"), e = e(), H(), e), be = { class: "list-top-bar" }, Ee = /* @__PURE__ */ M(() => /* @__PURE__ */ o("span", { class: "cancel-edit-text" }, "\u8BF7\u9009\u62E9", -1)), Fe = {
120
120
  key: 1,
121
121
  class: "title"
122
122
  }, Ie = { class: "clear" }, Ve = { key: 0 }, we = ["onClick"], Be = { class: "item" }, Te = { class: "item-pic" }, Se = { class: "item-info" }, Pe = { class: "item-info-title" }, Ae = { class: "item-info-subtitle" }, Ue = {
@@ -134,7 +134,7 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
134
134
  setup(e, { emit: s }) {
135
135
  const l = e;
136
136
  Y((t) => ({
137
- e7f8d06a: "url(" + i(U) + ")"
137
+ "13fc6c5c": "url(" + i(U) + ")"
138
138
  }));
139
139
  const a = ie(), r = f(l.player ? l.player.currentTime() : 0), c = () => {
140
140
  r.value = l.player.currentTime();
@@ -228,7 +228,8 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
228
228
  o("div", Be, [
229
229
  o("div", Te, [
230
230
  h(ae, {
231
- fit: "fill",
231
+ fit: "cover",
232
+ loading: "eager",
232
233
  src: L(n),
233
234
  "no-spinner": ""
234
235
  }, {
@@ -276,7 +277,7 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
276
277
  };
277
278
  }
278
279
  });
279
- const Me = /* @__PURE__ */ D(He, [["__scopeId", "data-v-4e728578"]]), Le = /* @__PURE__ */ x({
280
+ const Me = /* @__PURE__ */ D(He, [["__scopeId", "data-v-519f4592"]]), Le = /* @__PURE__ */ x({
280
281
  __name: "list",
281
282
  props: {
282
283
  player: null