@lazycatcloud/lzc-video-player 0.0.6 → 0.0.9
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.
- package/dist/components/Video/videoFrame.d.ts +1 -1
- package/dist/{list.c11f3c19.js → list.9d49627d.js} +12 -11
- package/dist/{lzc-video-player.0acd3ce8.js → lzc-video-player.753207cc.js} +1159 -1128
- package/dist/lzc-video-player.js +2 -2
- package/dist/{playrate.89806fb8.js → playrate.13a84f5f.js} +2 -2
- package/dist/{resolution.e8eac920.js → resolution.7bbf5a57.js} +2 -2
- package/dist/{simpleList.314db237.js → simpleList.3ee87a42.js} +1 -1
- package/dist/stores/playlist.d.ts +1 -1
- package/dist/use/useVideoFrame.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type videojs from "video.js";
|
|
2
|
-
export declare const makeVideoFrame: (player: videojs.Player) => Promise<Blob | null
|
|
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
|
|
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.753207cc.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" }),
|
|
@@ -11,7 +11,7 @@ const de = {}, re = (e) => (Q("data-v-7a0e044b"), e = e(), H(), e), _e = /* @__P
|
|
|
11
11
|
function ve(e, s) {
|
|
12
12
|
return u(), d("div", null, pe);
|
|
13
13
|
}
|
|
14
|
-
const me = /* @__PURE__ */
|
|
14
|
+
const me = /* @__PURE__ */ D(de, [["render", ve], ["__scopeId", "data-v-7a0e044b"]]);
|
|
15
15
|
function ye() {
|
|
16
16
|
const e = f(!1), s = f([]), l = f([]), a = S(
|
|
17
17
|
() => s.value.length > 0 && l.value.length === s.value.length
|
|
@@ -28,7 +28,7 @@ function ye() {
|
|
|
28
28
|
}
|
|
29
29
|
function p(v) {
|
|
30
30
|
if (s.value.includes(v)) {
|
|
31
|
-
s.value = s.value.filter((
|
|
31
|
+
s.value = s.value.filter((b) => b !== v);
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
34
|
s.value.push(v);
|
|
@@ -72,7 +72,7 @@ const ge = /* @__PURE__ */ x({
|
|
|
72
72
|
], 2));
|
|
73
73
|
}
|
|
74
74
|
});
|
|
75
|
-
const fe = /* @__PURE__ */
|
|
75
|
+
const fe = /* @__PURE__ */ D(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { class: "card" }, ke = { class: "title" }, $e = {
|
|
76
76
|
key: 0,
|
|
77
77
|
class: "subtitle"
|
|
78
78
|
}, Ce = { class: "buttons" }, xe = /* @__PURE__ */ x({
|
|
@@ -116,7 +116,7 @@ const fe = /* @__PURE__ */ b(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { cla
|
|
|
116
116
|
}, 8, ["model-value"]));
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
|
-
const
|
|
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,14 +134,14 @@ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
|
|
|
134
134
|
setup(e, { emit: s }) {
|
|
135
135
|
const l = e;
|
|
136
136
|
Y((t) => ({
|
|
137
|
-
"
|
|
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();
|
|
141
141
|
}, p = "page-title-edit", {
|
|
142
142
|
selectedKeys: m,
|
|
143
143
|
isEditing: v,
|
|
144
|
-
isSelectAll:
|
|
144
|
+
isSelectAll: b,
|
|
145
145
|
hdlSelectAll: P,
|
|
146
146
|
hdlCancel: E,
|
|
147
147
|
hdlToggleItem: N,
|
|
@@ -181,14 +181,14 @@ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
|
|
|
181
181
|
onClick: _[4] || (_[4] = w(() => {
|
|
182
182
|
}, ["stop"]))
|
|
183
183
|
}, [
|
|
184
|
-
h(
|
|
184
|
+
h(De, {
|
|
185
185
|
title: "\u786E\u8BA4\u5220\u9664",
|
|
186
186
|
desc: "\u662F\u5426\u5220\u9664\u5DF2\u9009\u4E2D\u7684\u89C6\u9891",
|
|
187
187
|
show: C.value,
|
|
188
188
|
"onUpdate:show": _[0] || (_[0] = (n) => C.value = n),
|
|
189
189
|
onConfirm: G
|
|
190
190
|
}, null, 8, ["show"]),
|
|
191
|
-
o("div",
|
|
191
|
+
o("div", be, [
|
|
192
192
|
i(v) ? (u(), d("div", {
|
|
193
193
|
key: 0,
|
|
194
194
|
class: "title cancel-edit",
|
|
@@ -206,7 +206,7 @@ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
|
|
|
206
206
|
key: 1,
|
|
207
207
|
class: y(`${p}-select`),
|
|
208
208
|
onClick: _[3] || (_[3] = (...n) => i(P) && i(P)(...n))
|
|
209
|
-
}, g(i(
|
|
209
|
+
}, g(i(b) ? "\u53D6\u6D88\u5168\u9009" : "\u5168\u9009"), 3)) : (u(), d("span", {
|
|
210
210
|
key: 0,
|
|
211
211
|
class: y(`${p}-edit`),
|
|
212
212
|
onClick: _[2] || (_[2] = (n) => v.value = !0)
|
|
@@ -229,6 +229,7 @@ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
|
|
|
229
229
|
o("div", Te, [
|
|
230
230
|
h(ae, {
|
|
231
231
|
fit: "cover",
|
|
232
|
+
loading: "eager",
|
|
232
233
|
src: L(n),
|
|
233
234
|
"no-spinner": ""
|
|
234
235
|
}, {
|
|
@@ -276,7 +277,7 @@ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
|
|
|
276
277
|
};
|
|
277
278
|
}
|
|
278
279
|
});
|
|
279
|
-
const Me = /* @__PURE__ */
|
|
280
|
+
const Me = /* @__PURE__ */ D(He, [["__scopeId", "data-v-519f4592"]]), Le = /* @__PURE__ */ x({
|
|
280
281
|
__name: "list",
|
|
281
282
|
props: {
|
|
282
283
|
player: null
|