@lazycatcloud/lzc-video-player 0.0.93 → 0.0.95
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/{browser-ponyfill.63d16403.js → browser-ponyfill.3c3cd63a.js} +1 -1
- package/dist/{lzc-video-player.ab16b918.js → lzc-video-player.d23cc64c.js} +5778 -5629
- package/dist/lzc-video-player.js +2 -2
- package/dist/src/components/Video/components/LzcOverlay/SubtitleLayer.vue.d.ts +6 -0
- package/dist/src/components/Video/useSubtitlePreference.d.ts +11 -0
- package/package.json +1 -1
|
@@ -4,10 +4,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
type: import("vue").PropType<LzcPlayer>;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
+
active: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
7
10
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
11
|
player: {
|
|
9
12
|
type: import("vue").PropType<LzcPlayer>;
|
|
10
13
|
required: true;
|
|
11
14
|
};
|
|
15
|
+
active: {
|
|
16
|
+
type: import("vue").PropType<boolean>;
|
|
17
|
+
};
|
|
12
18
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
19
|
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare type SubtitleSizeLevel = "small" | "medium" | "large";
|
|
2
|
+
declare function setSubtitleSizeLevel(level: SubtitleSizeLevel): void;
|
|
3
|
+
declare function getSubtitleSizeLevel(): SubtitleSizeLevel;
|
|
4
|
+
declare function getSubtitleSizePixels(level: SubtitleSizeLevel): number;
|
|
5
|
+
export declare function useSubtitlePreference(): {
|
|
6
|
+
subtitleSizeLevel: import("vue").Ref<SubtitleSizeLevel, SubtitleSizeLevel>;
|
|
7
|
+
getSubtitleSizeLevel: typeof getSubtitleSizeLevel;
|
|
8
|
+
setSubtitleSizeLevel: typeof setSubtitleSizeLevel;
|
|
9
|
+
getSubtitleSizePixels: typeof getSubtitleSizePixels;
|
|
10
|
+
};
|
|
11
|
+
export {};
|