@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,13 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import type { LzcPlayer } from "video.js";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
player: {
|
|
6
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
player: {
|
|
11
|
+
type: import("vue").PropType<LzcPlayer>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
15
|
+
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,20 +1,20 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<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
|
-
default?(_: {}): any;
|
|
14
|
-
}>;
|
|
15
|
-
export default _default;
|
|
16
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
-
new (): {
|
|
18
|
-
$slots: S;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<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
|
+
default?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { type Ref } from "vue";
|
|
2
|
-
import type { Subscription } from "rxjs";
|
|
3
|
-
import { type RemoteMediaPlayer } from "@lazycatcloud/sdk/dist/dlna/dlna";
|
|
4
|
-
import type { LzcPlayer } from "video.js";
|
|
5
|
-
export declare const devices: Ref<RemoteMediaPlayer[]>;
|
|
6
|
-
export declare const castSubscribe: Ref<Subscription | null>;
|
|
7
|
-
export declare const castDevice: Ref<RemoteMediaPlayer | null>;
|
|
8
|
-
export declare const castLoading: Ref<boolean>;
|
|
9
|
-
export declare const castPaused: Ref<boolean>;
|
|
10
|
-
export declare function useRefresh(): void;
|
|
11
|
-
export declare function doPlayAction(player: LzcPlayer, mediaFile: string): Promise<void>;
|
|
12
|
-
export declare function doPauseAction(): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
13
|
-
export declare function doContinueAction(): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
14
|
-
export declare function doStopAction(): Promise<void>;
|
|
15
|
-
export declare function doSeekAction(time: number): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
16
|
-
export declare function doPlayNextAction(player: LzcPlayer, mediaFile: string): Promise<void>;
|
|
1
|
+
import { type Ref } from "vue";
|
|
2
|
+
import type { Subscription } from "rxjs";
|
|
3
|
+
import { type RemoteMediaPlayer } from "@lazycatcloud/sdk/dist/dlna/dlna";
|
|
4
|
+
import type { LzcPlayer } from "video.js";
|
|
5
|
+
export declare const devices: Ref<RemoteMediaPlayer[]>;
|
|
6
|
+
export declare const castSubscribe: Ref<Subscription | null>;
|
|
7
|
+
export declare const castDevice: Ref<RemoteMediaPlayer | null>;
|
|
8
|
+
export declare const castLoading: Ref<boolean>;
|
|
9
|
+
export declare const castPaused: Ref<boolean>;
|
|
10
|
+
export declare function useRefresh(): void;
|
|
11
|
+
export declare function doPlayAction(player: LzcPlayer, mediaFile: string): Promise<void>;
|
|
12
|
+
export declare function doPauseAction(): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
13
|
+
export declare function doContinueAction(): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
14
|
+
export declare function doStopAction(): Promise<void>;
|
|
15
|
+
export declare function doSeekAction(time: number): Promise<import("@lazycatcloud/sdk/dist/google/protobuf/empty").Empty>;
|
|
16
|
+
export declare function doPlayNextAction(player: LzcPlayer, mediaFile: string): Promise<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
export declare const useVideoName: (player: LzcPlayer) => {
|
|
3
|
-
videoName: import("vue").Ref<string, string>;
|
|
4
|
-
};
|
|
5
|
-
export declare function parseSecond(t: string | number): number;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
export declare const useVideoName: (player: LzcPlayer) => {
|
|
3
|
+
videoName: import("vue").Ref<string, string>;
|
|
4
|
+
};
|
|
5
|
+
export declare function parseSecond(t: string | number): number;
|
|
@@ -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 LzcOverlay extends Component {
|
|
4
|
-
constructor(player: LzcPlayer, options?: any);
|
|
5
|
-
createEl(): Element;
|
|
6
|
-
}
|
|
7
|
-
export default LzcOverlay;
|
|
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 +1,8 @@
|
|
|
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(): void;
|
|
7
|
-
}
|
|
8
|
-
export default LzcPlayrateButton;
|
|
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(): void;
|
|
7
|
+
}
|
|
8
|
+
export default LzcPlayrateButton;
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
+
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 +1,9 @@
|
|
|
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(): void;
|
|
8
|
-
}
|
|
9
|
-
export default LzcPlaylistButton;
|
|
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(): void;
|
|
8
|
+
}
|
|
9
|
+
export default LzcPlaylistButton;
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
+
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,8 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 +1,9 @@
|
|
|
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
|
+
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 +1,9 @@
|
|
|
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(): void;
|
|
8
|
-
}
|
|
9
|
-
export default LzcResolutionButton;
|
|
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(): void;
|
|
8
|
+
}
|
|
9
|
+
export default LzcResolutionButton;
|
|
@@ -1,10 +1,10 @@
|
|
|
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
|
+
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,9 +1,10 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
import
|
|
3
|
-
declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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(): void;
|
|
9
|
+
}
|
|
10
|
+
export default LzcSubtitleButton;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function formatTime(second: number): string;
|
|
2
|
-
export declare function remHeight(rem: number, pixelRatio?: false): number;
|
|
1
|
+
export declare function formatTime(second: number): string;
|
|
2
|
+
export declare function remHeight(rem: number, pixelRatio?: false): number;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Subtitle } from '../../model';
|
|
2
|
-
export declare function getSubtitleInfo(videoPath?: string): Promise<Subtitle[] | undefined>;
|
|
1
|
+
import type { Subtitle } from '../../model';
|
|
2
|
+
export declare function getSubtitleInfo(videoPath?: string): Promise<Subtitle[] | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,44 +1,60 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
type: import("vue").PropType<
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
17
|
+
onInit: {
|
|
18
|
+
type: import("vue").PropType<(player: LzcPlayer) => void>;
|
|
19
|
+
};
|
|
20
|
+
options: {
|
|
21
|
+
type: import("vue").PropType<any>;
|
|
22
|
+
};
|
|
23
|
+
poster: {
|
|
24
|
+
type: import("vue").PropType<string>;
|
|
25
|
+
required: true;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
shortcutToggle: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
back: () => void;
|
|
34
|
+
controlBarActive: (show: boolean) => void;
|
|
35
|
+
fullscreenchange: (value: boolean, id: string) => void;
|
|
36
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
onInit: {
|
|
38
|
+
type: import("vue").PropType<(player: LzcPlayer) => void>;
|
|
39
|
+
};
|
|
40
|
+
options: {
|
|
41
|
+
type: import("vue").PropType<any>;
|
|
42
|
+
};
|
|
43
|
+
poster: {
|
|
44
|
+
type: import("vue").PropType<string>;
|
|
45
|
+
required: true;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
48
|
+
shortcutToggle: {
|
|
49
|
+
type: import("vue").PropType<boolean>;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
}>> & Readonly<{
|
|
53
|
+
onFullscreenchange?: ((value: boolean, id: string) => any) | undefined;
|
|
54
|
+
onBack?: (() => any) | undefined;
|
|
55
|
+
onControlBarActive?: ((show: boolean) => any) | undefined;
|
|
56
|
+
}>, {
|
|
57
|
+
poster: string;
|
|
58
|
+
shortcutToggle: boolean;
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
export declare function useVideoPreview(baseUrlPrefix: string, player: LzcPlayer): {
|
|
3
|
-
loadPreview: () => any;
|
|
4
|
-
getPreview: () => HTMLImageElement | undefined;
|
|
5
|
-
currentPage: () => number;
|
|
6
|
-
};
|
|
7
|
-
export declare function useSource(player: LzcPlayer): void;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
export declare function useVideoPreview(baseUrlPrefix: string, player: LzcPlayer): {
|
|
3
|
+
loadPreview: () => any;
|
|
4
|
+
getPreview: () => HTMLImageElement | undefined;
|
|
5
|
+
currentPage: () => number;
|
|
6
|
+
};
|
|
7
|
+
export declare function useSource(player: LzcPlayer): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
IsApp(): any;
|
|
3
|
-
GetScreenBrightNess(): number;
|
|
4
|
-
GetCurrentVolume(): number;
|
|
5
|
-
SetScreentBrightness(b: number): void;
|
|
6
|
-
SetVoice(v: number): void;
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
1
|
+
declare const _default: {
|
|
2
|
+
IsApp(): any;
|
|
3
|
+
GetScreenBrightNess(): number;
|
|
4
|
+
GetCurrentVolume(): number;
|
|
5
|
+
SetScreentBrightness(b: number): void;
|
|
6
|
+
SetVoice(v: number): void;
|
|
7
|
+
};
|
|
8
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { LzcPlayer } from "video.js";
|
|
2
|
-
export declare const makeVideoFrame: (player: LzcPlayer) => Promise<Blob | null>;
|
|
1
|
+
import type { LzcPlayer } from "video.js";
|
|
2
|
+
export declare const makeVideoFrame: (player: LzcPlayer) => Promise<Blob | null>;
|
package/dist/src/i18n/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { InitOptions, Callback, i18n } from "i18next";
|
|
2
|
-
export { default as i18next } from "i18next";
|
|
3
|
-
export * from "i18next";
|
|
4
|
-
export { default as I18NextVue } from "i18next-vue";
|
|
5
|
-
export * from "i18next-vue";
|
|
6
|
-
export declare function init(options?: InitOptions, callback?: Callback, i18n?: i18n | undefined): Promise<import("i18next").TFunction<"translation", undefined, "translation">>;
|
|
7
|
-
declare const _default: {
|
|
8
|
-
init: typeof init;
|
|
9
|
-
};
|
|
10
|
-
export default _default;
|
|
1
|
+
import type { InitOptions, Callback, i18n } from "i18next";
|
|
2
|
+
export { default as i18next } from "i18next";
|
|
3
|
+
export * from "i18next";
|
|
4
|
+
export { default as I18NextVue } from "i18next-vue";
|
|
5
|
+
export * from "i18next-vue";
|
|
6
|
+
export declare function init(options?: InitOptions, callback?: Callback, i18n?: i18n | undefined): Promise<import("i18next").TFunction<"translation", undefined, "translation">>;
|
|
7
|
+
declare const _default: {
|
|
8
|
+
init: typeof init;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|