ckplayer-plus 1.0.3 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ckplayer-plus",
3
- "version": "1.0.3",
3
+ "version": "1.0.6",
4
4
  "description": "Enhanced ckplayer X3 packaging with Vue 2/3 and React wrappers — ESM-ready HTML5 video player",
5
5
  "keywords": [
6
6
  "ckplayer",
package/types/vue.d.ts CHANGED
@@ -15,6 +15,17 @@ export interface CkPlayerProps {
15
15
  width?: string;
16
16
  height?: string;
17
17
  className?: string;
18
+ onReady?: (player: CkplayerInstance) => void;
19
+ onPlay?: (...args: any[]) => void;
20
+ onPause?: (...args: any[]) => void;
21
+ onEnded?: (...args: any[]) => void;
22
+ onVolume?: (vol: number) => void;
23
+ onMuted?: (state: boolean) => void;
24
+ onFull?: (state: boolean) => void;
25
+ onError?: (err: any) => void;
26
+ onTime?: (t: number) => void;
27
+ onSeek?: (...args: any[]) => void;
28
+ onScreenshot?: (...args: any[]) => void;
18
29
  }
19
30
 
20
31
  declare const CkPlayer: {