@lazycatcloud/lzc-video-player 0.0.70 → 0.0.72
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/README.md +31 -29
- package/dist/{browser-ponyfill.26786fc7.js → browser-ponyfill.749ed003.js} +1 -1
- package/dist/{lzc-video-player.80bffe19.js → lzc-video-player.93c6d627.js} +8939 -8671
- package/dist/lzc-video-player.js +2 -2
- package/dist/src/components/Dialog/index.vue.d.ts +24 -24
- package/dist/src/components/MultipleEdit/choose.vue.d.ts +20 -20
- package/dist/src/components/PlayList/index.vue.d.ts +26 -26
- package/dist/src/components/Spectrum/index.vue.d.ts +2 -2
- package/dist/src/components/Video/components/LzcCurrentTimeDisplay.d.ts +7 -7
- package/dist/src/components/Video/components/LzcFullscreenToggle.d.ts +10 -10
- package/dist/src/components/Video/components/LzcLoadingSpinner.d.ts +7 -7
- package/dist/src/components/Video/components/LzcModal/components/simpleList.vue.d.ts +36 -36
- package/dist/src/components/Video/components/LzcModal/index.vue.d.ts +22 -22
- package/dist/src/components/Video/components/LzcModal/list.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcModal/playrate.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcModal/resolution.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcModal/subtitle.vue.d.ts +13 -0
- package/dist/src/components/Video/components/LzcModal/useModal.d.ts +1 -1
- package/dist/src/components/Video/components/LzcModal.d.ts +9 -9
- package/dist/src/components/Video/components/LzcOverlay/cast.vue.d.ts +16 -16
- package/dist/src/components/Video/components/LzcOverlay/castMiddleware.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/castPlugin.d.ts +11 -11
- package/dist/src/components/Video/components/LzcOverlay/casting.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcOverlay/error.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcOverlay/helper.d.ts +26 -26
- package/dist/src/components/Video/components/LzcOverlay/index.vue.d.ts +15 -13
- package/dist/src/components/Video/components/LzcOverlay/playing.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcOverlay/playingButtons.vue.d.ts +13 -13
- package/dist/src/components/Video/components/LzcOverlay/playingLayout.vue.d.ts +20 -20
- package/dist/src/components/Video/components/LzcOverlay/useCast.d.ts +16 -16
- package/dist/src/components/Video/components/LzcOverlay/useCommon.d.ts +5 -5
- package/dist/src/components/Video/components/LzcOverlay.d.ts +7 -7
- package/dist/src/components/Video/components/LzcPlayRate.d.ts +8 -8
- package/dist/src/components/Video/components/LzcPlayToggle.d.ts +7 -7
- package/dist/src/components/Video/components/LzcPlaylistButton.d.ts +9 -9
- package/dist/src/components/Video/components/LzcPlaylistNext.d.ts +10 -10
- package/dist/src/components/Video/components/LzcProgress.d.ts +11 -8
- package/dist/src/components/Video/components/LzcRemainingTimeDisplay.d.ts +9 -9
- package/dist/src/components/Video/components/LzcResolutionButton.d.ts +9 -9
- package/dist/src/components/Video/components/LzcSeekBar.d.ts +10 -10
- package/dist/src/components/Video/components/LzcSubtitleButton.d.ts +10 -9
- package/dist/src/components/Video/components/useLzcCommon.d.ts +2 -2
- package/dist/src/components/Video/getSubtitleInfo.d.ts +2 -2
- package/dist/src/components/Video/hlsjs.d.ts +1 -1
- package/dist/src/components/Video/index.vue.d.ts +60 -44
- package/dist/src/components/Video/useSource.d.ts +7 -7
- package/dist/src/components/Video/useWebview.d.ts +8 -8
- package/dist/src/components/Video/useWebviewMiddleware.d.ts +1 -1
- package/dist/src/components/Video/videoFrame.d.ts +2 -2
- package/dist/src/i18n/index.d.ts +10 -10
- package/dist/src/lzc-video-player.d.ts +5 -3
- package/dist/src/model.d.ts +46 -46
- package/dist/src/stores/pinia.d.ts +2 -2
- package/dist/src/stores/playlist.d.ts +148 -148
- package/dist/src/use/useKeyBind.d.ts +3 -3
- package/dist/src/use/useMultipleEdit.d.ts +9 -9
- package/dist/src/use/useSdk.d.ts +5 -5
- package/dist/src/use/useUtils.d.ts +1 -1
- package/dist/src/use/useVideoFrame.d.ts +5 -5
- package/package.json +22 -19
- package/dist/src/utils/sentry.d.ts +0 -4
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
title: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
desc: {
|
|
7
|
-
type: import("vue").PropType<string>;
|
|
8
|
-
};
|
|
9
|
-
confirm: {
|
|
10
|
-
type: import("vue").PropType<() => void>;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
title: {
|
|
14
|
-
type: import("vue").PropType<string>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
desc: {
|
|
18
|
-
type: import("vue").PropType<string>;
|
|
19
|
-
};
|
|
20
|
-
confirm: {
|
|
21
|
-
type: import("vue").PropType<() => void>;
|
|
22
|
-
};
|
|
23
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
title: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
desc: {
|
|
7
|
+
type: import("vue").PropType<string>;
|
|
8
|
+
};
|
|
9
|
+
confirm: {
|
|
10
|
+
type: import("vue").PropType<() => void>;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
title: {
|
|
14
|
+
type: import("vue").PropType<string>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
desc: {
|
|
18
|
+
type: import("vue").PropType<string>;
|
|
19
|
+
};
|
|
20
|
+
confirm: {
|
|
21
|
+
type: import("vue").PropType<() => void>;
|
|
22
|
+
};
|
|
23
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
export default _default;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
keyValue: {
|
|
3
|
-
type: import("vue").PropType<string>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
selectedKeys: {
|
|
7
|
-
type: import("vue").PropType<string[]>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
keyValue: {
|
|
12
|
-
type: import("vue").PropType<string>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
selectedKeys: {
|
|
16
|
-
type: import("vue").PropType<string[]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
keyValue: {
|
|
3
|
+
type: import("vue").PropType<string>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
selectedKeys: {
|
|
7
|
+
type: import("vue").PropType<string[]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
keyValue: {
|
|
12
|
+
type: import("vue").PropType<string>;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
selectedKeys: {
|
|
16
|
+
type: import("vue").PropType<string[]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { VideoInfo } from '../../model';
|
|
2
|
-
import type { LzcPlayer } from "video.js";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
player: {
|
|
5
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
6
|
-
};
|
|
7
|
-
isPlaying: {
|
|
8
|
-
type: import("vue").PropType<(info: VideoInfo) => boolean>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
openVideo: (info: VideoInfo) => void;
|
|
13
|
-
back: () => void;
|
|
14
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
-
player: {
|
|
16
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
17
|
-
};
|
|
18
|
-
isPlaying: {
|
|
19
|
-
type: import("vue").PropType<(info: VideoInfo) => boolean>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
}>> & Readonly<{
|
|
23
|
-
onOpenVideo?: ((info: VideoInfo) => any) | undefined;
|
|
24
|
-
onBack?: (() => any) | undefined;
|
|
25
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
-
export default _default;
|
|
1
|
+
import type { VideoInfo } from '../../model';
|
|
2
|
+
import type { LzcPlayer } from "video.js";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
player: {
|
|
5
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
6
|
+
};
|
|
7
|
+
isPlaying: {
|
|
8
|
+
type: import("vue").PropType<(info: VideoInfo) => boolean>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
openVideo: (info: VideoInfo) => void;
|
|
13
|
+
back: () => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
player: {
|
|
16
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
17
|
+
};
|
|
18
|
+
isPlaying: {
|
|
19
|
+
type: import("vue").PropType<(info: VideoInfo) => boolean>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{
|
|
23
|
+
onOpenVideo?: ((info: VideoInfo) => any) | undefined;
|
|
24
|
+
onBack?: (() => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
export declare class LzcCurrentTimeDisplay extends Component {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
buildCSSClass(): string;
|
|
6
|
-
}
|
|
7
|
-
export default LzcCurrentTimeDisplay;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
+
export declare class LzcCurrentTimeDisplay extends Component {
|
|
4
|
+
constructor(player: LzcPlayer, options?: any);
|
|
5
|
+
buildCSSClass(): string;
|
|
6
|
+
}
|
|
7
|
+
export default LzcCurrentTimeDisplay;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
import type ButtonType from "video.js/dist/types/button";
|
|
3
|
-
declare const Button: typeof ButtonType;
|
|
4
|
-
declare class LzcFullscreenToggle extends Button {
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
buildCSSClass(): string;
|
|
7
|
-
createEl(): Element;
|
|
8
|
-
handleClick(_: Event): void;
|
|
9
|
-
}
|
|
10
|
-
export default LzcFullscreenToggle;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
import type ButtonType from "video.js/dist/types/button";
|
|
3
|
+
declare const Button: typeof ButtonType;
|
|
4
|
+
declare class LzcFullscreenToggle extends Button {
|
|
5
|
+
constructor(player: LzcPlayer, options?: any);
|
|
6
|
+
buildCSSClass(): string;
|
|
7
|
+
createEl(): Element;
|
|
8
|
+
handleClick(_: Event): void;
|
|
9
|
+
}
|
|
10
|
+
export default LzcFullscreenToggle;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcLoadingSpinner extends Component {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
}
|
|
7
|
-
export default LzcLoadingSpinner;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
+
declare class LzcLoadingSpinner extends Component {
|
|
4
|
+
constructor(player: LzcPlayer, options?: any);
|
|
5
|
+
createEl(): Element;
|
|
6
|
+
}
|
|
7
|
+
export default LzcLoadingSpinner;
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
items: {
|
|
3
|
-
type: import("vue").PropType<any[]>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
isActive: {
|
|
7
|
-
type: import("vue").PropType<(item: any, index: number) => boolean>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
-
select: (item: any) => void;
|
|
12
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
items: {
|
|
14
|
-
type: import("vue").PropType<any[]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
isActive: {
|
|
18
|
-
type: import("vue").PropType<(item: any, index: number) => boolean>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{
|
|
22
|
-
onSelect?: ((item: any) => any) | undefined;
|
|
23
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
24
|
-
default?(_: {
|
|
25
|
-
data: {
|
|
26
|
-
item: any;
|
|
27
|
-
index: number;
|
|
28
|
-
};
|
|
29
|
-
}): any;
|
|
30
|
-
}>;
|
|
31
|
-
export default _default;
|
|
32
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
items: {
|
|
3
|
+
type: import("vue").PropType<any[]>;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
isActive: {
|
|
7
|
+
type: import("vue").PropType<(item: any, index: number) => boolean>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
|
+
select: (item: any) => void;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
items: {
|
|
14
|
+
type: import("vue").PropType<any[]>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
isActive: {
|
|
18
|
+
type: import("vue").PropType<(item: any, index: number) => boolean>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onSelect?: ((item: any) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
24
|
+
default?(_: {
|
|
25
|
+
data: {
|
|
26
|
+
item: any;
|
|
27
|
+
index: number;
|
|
28
|
+
};
|
|
29
|
+
}): any;
|
|
30
|
+
}>;
|
|
31
|
+
export default _default;
|
|
32
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
import type ModalDialog from "video.js/dist/types/modal-dialog";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
player: {
|
|
5
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
modal: {
|
|
9
|
-
type: import("vue").PropType<ModalDialog>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
-
player: {
|
|
14
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
modal: {
|
|
18
|
-
type: import("vue").PropType<ModalDialog>;
|
|
19
|
-
required: true;
|
|
20
|
-
};
|
|
21
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
import type ModalDialog from "video.js/dist/types/modal-dialog";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
player: {
|
|
5
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
modal: {
|
|
9
|
+
type: import("vue").PropType<ModalDialog>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
player: {
|
|
14
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
modal: {
|
|
18
|
+
type: import("vue").PropType<ModalDialog>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const activePage: import("vue").Ref<string, string>;
|
|
1
|
+
export declare const activePage: import("vue").Ref<string, string>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
import type ModalDialogType from "video.js/dist/types/modal-dialog";
|
|
3
|
-
declare const ModalDialog: typeof ModalDialogType;
|
|
4
|
-
declare class LzcModal extends ModalDialog {
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
openModal(active: "LzcPlayrate" | "LzcPlaylist" | "LzcResolution"): void;
|
|
7
|
-
createEl(): Element;
|
|
8
|
-
}
|
|
9
|
-
export default LzcModal;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
import type ModalDialogType from "video.js/dist/types/modal-dialog";
|
|
3
|
+
declare const ModalDialog: typeof ModalDialogType;
|
|
4
|
+
declare class LzcModal extends ModalDialog {
|
|
5
|
+
constructor(player: LzcPlayer, options?: any);
|
|
6
|
+
openModal(active: "LzcPlayrate" | "LzcPlaylist" | "LzcResolution" | "Subtitle"): void;
|
|
7
|
+
createEl(): Element;
|
|
8
|
+
}
|
|
9
|
+
export default LzcModal;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "ok")[], "hide" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{
|
|
13
|
-
onOk?: ((...args: any[]) => any) | undefined;
|
|
14
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("hide" | "ok")[], "hide" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{
|
|
13
|
+
onOk?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
declare const Tech: import("video.js/dist/types/tech/tech").default | undefined;
|
|
2
|
-
declare class LzcCast extends Tech {
|
|
3
|
-
private _currentTime;
|
|
4
|
-
constructor(options: any, ready: any);
|
|
5
|
-
currentTime(): number;
|
|
6
|
-
setCurrentTime(seconds: number): void;
|
|
7
|
-
play(): void;
|
|
8
|
-
pause(): void;
|
|
9
|
-
paused(): boolean;
|
|
10
|
-
}
|
|
11
|
-
export default LzcCast;
|
|
1
|
+
declare const Tech: import("video.js/dist/types/tech/tech").default | undefined;
|
|
2
|
+
declare class LzcCast extends Tech {
|
|
3
|
+
private _currentTime;
|
|
4
|
+
constructor(options: any, ready: any);
|
|
5
|
+
currentTime(): number;
|
|
6
|
+
setCurrentTime(seconds: number): void;
|
|
7
|
+
play(): void;
|
|
8
|
+
pause(): void;
|
|
9
|
+
paused(): boolean;
|
|
10
|
+
}
|
|
11
|
+
export default LzcCast;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
player: {
|
|
4
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
-
required: true;
|
|
6
|
-
};
|
|
7
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
player: {
|
|
9
|
-
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
-
export default _default;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
player: {
|
|
4
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
player: {
|
|
9
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import type { TouchSwipeParams } from "quasar";
|
|
2
|
-
export interface TouchPanEvent extends TouchSwipeParams {
|
|
3
|
-
isFirst: boolean;
|
|
4
|
-
isFinal: boolean;
|
|
5
|
-
offset: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
};
|
|
9
|
-
delta: {
|
|
10
|
-
x: number;
|
|
11
|
-
y: number;
|
|
12
|
-
};
|
|
13
|
-
position: {
|
|
14
|
-
top: number;
|
|
15
|
-
left: number;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export declare const computeBrightness: (currBrightness: number, event: TouchPanEvent, dim: any) => {
|
|
19
|
-
percent: number;
|
|
20
|
-
brightness: number;
|
|
21
|
-
};
|
|
22
|
-
export declare const computeVolume: (currentVolume: number, event: TouchPanEvent, dim: any) => {
|
|
23
|
-
percent: number;
|
|
24
|
-
volume: number;
|
|
25
|
-
};
|
|
26
|
-
export declare const computeProgress: (total: number, currentTime: number, event: TouchPanEvent, dim: any) => number;
|
|
1
|
+
import type { TouchSwipeParams } from "quasar";
|
|
2
|
+
export interface TouchPanEvent extends TouchSwipeParams {
|
|
3
|
+
isFirst: boolean;
|
|
4
|
+
isFinal: boolean;
|
|
5
|
+
offset: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
};
|
|
9
|
+
delta: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
position: {
|
|
14
|
+
top: number;
|
|
15
|
+
left: number;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export declare const computeBrightness: (currBrightness: number, event: TouchPanEvent, dim: any) => {
|
|
19
|
+
percent: number;
|
|
20
|
+
brightness: number;
|
|
21
|
+
};
|
|
22
|
+
export declare const computeVolume: (currentVolume: number, event: TouchPanEvent, dim: any) => {
|
|
23
|
+
percent: number;
|
|
24
|
+
volume: number;
|
|
25
|
+
};
|
|
26
|
+
export declare const computeProgress: (total: number, currentTime: number, event: TouchPanEvent, dim: any) => number;
|