@lazycatcloud/lzc-video-player 0.0.88 → 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 CHANGED
@@ -5,10 +5,10 @@
5
5
  基于原生 `<video>` + hls.js 的播放器,不依赖 Video.js,提供 HLS 播放与基础控制:
6
6
 
7
7
  ```typescript
8
- import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
8
+ import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
9
9
 
10
10
  // 需配合 openVideo 事件传入片源;onInit 中可拿到 player 并调用 trigger({ type: "openVideo", info })
11
- <LzcVideoPlayer @back="onBack" :on-init="onInit" :options="options" />
11
+ <LzcVideoPlayer @back="onBack" :on-init="onInit" :options="options" />
12
12
  ```
13
13
 
14
14
  ## 支持选择字幕功能
@@ -17,7 +17,7 @@ import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
17
17
 
18
18
  ```typescript
19
19
  <script setup lang="ts">
20
- import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
20
+ import { LzcVideoPlayer } from "@lazycatcloud/lzc-video-player";
21
21
  import type { NativePlayerAPI } from "@lazycatcloud/lzc-video-player";
22
22
 
23
23
  function onBack() {
@@ -33,7 +33,7 @@ const options = {
33
33
  </script>
34
34
 
35
35
  <template>
36
- <LzcVideoPlayer
36
+ <LzcVideoPlayer
37
37
  :style="{
38
38
  height: '100%',
39
39
  width: '100%',
@@ -1,4 +1,4 @@
1
- import { c as R } from "./lzc-video-player.fe1d2b7c.js";
1
+ import { c as R } from "./lzc-video-player.ae1d5d50.js";
2
2
  function G(w, d) {
3
3
  for (var b = 0; b < d.length; b++) {
4
4
  const y = d[b];