@lazycatcloud/lzc-video-player 0.0.87 → 0.0.89
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 +18 -5
- package/dist/{browser-ponyfill.77fe21a3.js → browser-ponyfill.4ec1d3bb.js} +1 -1
- package/dist/lzc-video-player.ae1d5d50.js +72045 -0
- package/dist/lzc-video-player.js +2 -2
- package/dist/src/components/PlayList/index.vue.d.ts +1 -1
- package/dist/src/components/Video/NativeVideoPlayer.vue.d.ts +78 -0
- package/dist/src/components/Video/components/LzcModal/list.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcModal/playrate.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcModal/resolution.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcModal/subtitle.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/cast.vue.d.ts +9 -2
- package/dist/src/components/Video/components/LzcOverlay/casting.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/error.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/index.vue.d.ts +7 -3
- package/dist/src/components/Video/components/LzcOverlay/playing.vue.d.ts +7 -1
- package/dist/src/components/Video/components/LzcOverlay/playingButtons.vue.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/playingLayout.vue.d.ts +7 -1
- package/dist/src/components/Video/components/LzcOverlay/useCast.d.ts +1 -1
- package/dist/src/components/Video/components/LzcOverlay/useCommon.d.ts +1 -1
- package/dist/src/components/Video/native/EventEmitter.d.ts +22 -0
- package/dist/src/components/Video/native/NativeControls.vue.d.ts +90 -0
- package/dist/src/components/Video/native/NativeModal.vue.d.ts +38 -0
- package/dist/src/components/Video/native/NativePlayer.d.ts +176 -0
- package/dist/src/components/Video/native/NativePlayer.vue.d.ts +27 -0
- package/dist/src/components/Video/native/index.d.ts +3 -0
- package/dist/src/components/Video/native/playerKey.d.ts +3 -0
- package/dist/src/components/Video/native/useNativeCastMiddleware.d.ts +2 -0
- package/dist/src/components/Video/native/useNativePlayer.d.ts +2 -0
- package/dist/src/components/Video/native/useNativePlayerFullscreen.d.ts +10 -0
- package/dist/src/components/Video/native/useNativePlayerHistory.d.ts +9 -0
- package/dist/src/components/Video/native/useNativePlayerModal.d.ts +17 -0
- package/dist/src/components/Video/native/useNativePlayerPlaylist.d.ts +9 -0
- package/dist/src/components/Video/native/useNativePlayerState.d.ts +15 -0
- package/dist/src/components/Video/player.d.ts +94 -0
- package/dist/src/components/Video/useSource.d.ts +1 -1
- package/dist/src/components/Video/useWebview.d.ts +2 -2
- package/dist/src/components/Video/videoFrame.d.ts +1 -1
- package/dist/src/lzc-video-player.d.ts +3 -2
- package/dist/src/model.d.ts +3 -0
- package/dist/src/stores/playlist.d.ts +75 -0
- package/package.json +1 -1
- package/dist/lzc-video-player.56b6c6f6.js +0 -92046
- package/dist/src/components/Video/components/LzcCurrentTimeDisplay.d.ts +0 -7
- package/dist/src/components/Video/components/LzcFullscreenToggle.d.ts +0 -10
- package/dist/src/components/Video/components/LzcLoadingSpinner.d.ts +0 -7
- package/dist/src/components/Video/components/LzcModal/index.vue.d.ts +0 -22
- package/dist/src/components/Video/components/LzcModal.d.ts +0 -9
- package/dist/src/components/Video/components/LzcOverlay/castMiddleware.d.ts +0 -1
- package/dist/src/components/Video/components/LzcOverlay/castPlugin.d.ts +0 -11
- package/dist/src/components/Video/components/LzcOverlay.d.ts +0 -7
- package/dist/src/components/Video/components/LzcPlayRate.d.ts +0 -8
- package/dist/src/components/Video/components/LzcPlayToggle.d.ts +0 -7
- package/dist/src/components/Video/components/LzcPlaylistButton.d.ts +0 -9
- package/dist/src/components/Video/components/LzcPlaylistNext.d.ts +0 -10
- package/dist/src/components/Video/components/LzcPlaylistPrev.d.ts +0 -10
- package/dist/src/components/Video/components/LzcProgress.d.ts +0 -11
- package/dist/src/components/Video/components/LzcRemainingTimeDisplay.d.ts +0 -9
- package/dist/src/components/Video/components/LzcResolutionButton.d.ts +0 -9
- package/dist/src/components/Video/components/LzcSeekBar.d.ts +0 -10
- package/dist/src/components/Video/components/LzcSubtitleButton.d.ts +0 -10
- package/dist/src/components/Video/hlsjs.d.ts +0 -1
- package/dist/src/components/Video/index.vue.d.ts +0 -61
- package/dist/src/components/Video/useWebviewMiddleware.d.ts +0 -1
|
@@ -1,7 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
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,22 +0,0 @@
|
|
|
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,9 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
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,7 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcOverlay extends Component {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
}
|
|
7
|
-
export default LzcOverlay;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcPlayrateButton extends Button {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
handleClick(e: any): void;
|
|
7
|
-
}
|
|
8
|
-
export default LzcPlayrateButton;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcPlayToggle extends Button {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
}
|
|
7
|
-
export default LzcPlayToggle;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcPlaylistButton extends Button {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
dispose(): void;
|
|
7
|
-
handleClick(e: any): void;
|
|
8
|
-
}
|
|
9
|
-
export default LzcPlaylistButton;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcPlaylistNext extends Button {
|
|
4
|
-
private store;
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
createEl(): Element;
|
|
7
|
-
dispose(): void;
|
|
8
|
-
handleClick(): void;
|
|
9
|
-
}
|
|
10
|
-
export default LzcPlaylistNext;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcPlaylistPrev extends Button {
|
|
4
|
-
private store;
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
createEl(): Element;
|
|
7
|
-
dispose(): void;
|
|
8
|
-
handleClick(): void;
|
|
9
|
-
}
|
|
10
|
-
export default LzcPlaylistPrev;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import type { LzcPlayer } from "video.js";
|
|
5
|
-
import type ProgressControlType from "video.js/dist/types/control-bar/progress-control/progress-control";
|
|
6
|
-
declare const ProgressControl: typeof ProgressControlType;
|
|
7
|
-
export declare class LzcProgress extends ProgressControl {
|
|
8
|
-
constructor(player: LzcPlayer, options?: any);
|
|
9
|
-
createEl(): Element;
|
|
10
|
-
}
|
|
11
|
-
export default LzcProgress;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Component: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
export declare class LzcRemainingTimeDisplay extends Component {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
buildCSSClass(): string;
|
|
6
|
-
createEl(): Element;
|
|
7
|
-
updateContent(): void;
|
|
8
|
-
}
|
|
9
|
-
export default LzcRemainingTimeDisplay;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const Button: typeof import("video.js/dist/types/component").default;
|
|
3
|
-
declare class LzcResolutionButton extends Button {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
dispose(): void;
|
|
7
|
-
handleClick(e: any): void;
|
|
8
|
-
}
|
|
9
|
-
export default LzcResolutionButton;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
import type SliderType from "video.js/dist/types/slider/slider";
|
|
3
|
-
declare const Slider: typeof SliderType;
|
|
4
|
-
export declare class LzcSeekBar extends Slider {
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
handleMouseDown(event: MouseEvent): void;
|
|
7
|
-
handleMouseMove(event: MouseEvent): void;
|
|
8
|
-
handleMouseUp(event: MouseEvent): void;
|
|
9
|
-
}
|
|
10
|
-
export default LzcSeekBar;
|
|
@@ -1,10 +0,0 @@
|
|
|
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 LzcSubtitleButton extends Button {
|
|
5
|
-
constructor(player: LzcPlayer, options?: any);
|
|
6
|
-
createEl(tag: string, props?: any, attributes?: any): Element;
|
|
7
|
-
dispose(): void;
|
|
8
|
-
handleClick(e: any): void;
|
|
9
|
-
}
|
|
10
|
-
export default LzcSubtitleButton;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
18
|
-
onInit: {
|
|
19
|
-
type: import("vue").PropType<(player: LzcPlayer) => void>;
|
|
20
|
-
};
|
|
21
|
-
options: {
|
|
22
|
-
type: import("vue").PropType<any>;
|
|
23
|
-
};
|
|
24
|
-
poster: {
|
|
25
|
-
type: import("vue").PropType<string>;
|
|
26
|
-
required: true;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
shortcutToggle: {
|
|
30
|
-
type: import("vue").PropType<boolean>;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
back: () => void;
|
|
35
|
-
controlBarActive: (show: boolean) => void;
|
|
36
|
-
fullscreenchange: (value: boolean, id: string) => void;
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
-
onInit: {
|
|
39
|
-
type: import("vue").PropType<(player: LzcPlayer) => void>;
|
|
40
|
-
};
|
|
41
|
-
options: {
|
|
42
|
-
type: import("vue").PropType<any>;
|
|
43
|
-
};
|
|
44
|
-
poster: {
|
|
45
|
-
type: import("vue").PropType<string>;
|
|
46
|
-
required: true;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
shortcutToggle: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
default: boolean;
|
|
52
|
-
};
|
|
53
|
-
}>> & Readonly<{
|
|
54
|
-
onFullscreenchange?: ((value: boolean, id: string) => any) | undefined;
|
|
55
|
-
onBack?: (() => any) | undefined;
|
|
56
|
-
onControlBarActive?: ((show: boolean) => any) | undefined;
|
|
57
|
-
}>, {
|
|
58
|
-
poster: string;
|
|
59
|
-
shortcutToggle: boolean;
|
|
60
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
61
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|