lx-video-player 1.1.6 → 1.1.8

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
@@ -6,7 +6,12 @@
6
6
  ```js
7
7
  import { loadVideoPlayer } from '@lexiang/video-player';
8
8
 
9
+ interface Props {
10
+ zoom?: number; // 页面zoom,用于页面演示模式
11
+ onReady: (player: Player) => void;
12
+ }
13
+
9
14
  // 目前仅支持 onReady回调
10
- const { loadVideo, tcplayerInstance } = loadVideoPlayer({ onReady });
15
+ const { loadVideo, tcplayerInstance } = loadVideoPlayer({ onReady, zoom });
11
16
  ```
12
17