@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
package/README.md
CHANGED
|
@@ -1,29 +1,31 @@
|
|
|
1
|
-
# lzc-video-player
|
|
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
|
-
|
|
1
|
+
# lzc-video-player
|
|
2
|
+
|
|
3
|
+
## 支持选择字幕功能
|
|
4
|
+
|
|
5
|
+
```typescript
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
|
|
8
|
+
function onBack() {
|
|
9
|
+
console.log("onback");
|
|
10
|
+
}
|
|
11
|
+
function onInit(player: any) {
|
|
12
|
+
console.log("player: ", player);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const options: any = {
|
|
16
|
+
showTopBar: false,
|
|
17
|
+
};
|
|
18
|
+
</script>
|
|
19
|
+
|
|
20
|
+
<template>
|
|
21
|
+
<LzcVideoPlayer
|
|
22
|
+
:style="{
|
|
23
|
+
height: '100%',
|
|
24
|
+
width: '100%',
|
|
25
|
+
}"
|
|
26
|
+
@onback="onBack"
|
|
27
|
+
@onInit="onInit"
|
|
28
|
+
:options="options"
|
|
29
|
+
></LzcVideoPlayer>
|
|
30
|
+
</template>
|
|
31
|
+
```
|