@devix-technologies/react-gjirafa-vp-player 1.0.31-beta.8 → 1.0.31-beta.9
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/index.d.ts
CHANGED
|
@@ -251,8 +251,8 @@ export declare type DeepPartial<T> = T extends object ? {
|
|
|
251
251
|
* Prevents stale closures in event handlers
|
|
252
252
|
*/
|
|
253
253
|
export declare interface EventCallbackRefs {
|
|
254
|
-
onReady?: () => void;
|
|
255
|
-
onPlay?: () => void;
|
|
254
|
+
onReady?: (data?: CurrentVideoData_2) => void;
|
|
255
|
+
onPlay?: (data?: CurrentVideoData_2) => void;
|
|
256
256
|
onPause?: () => void;
|
|
257
257
|
onComplete?: () => void;
|
|
258
258
|
onError?: (error: string) => void;
|
|
@@ -1083,12 +1083,14 @@ export declare interface VPPlayerProps {
|
|
|
1083
1083
|
hiddenClasses?: string[];
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Called when the player is ready/initialized
|
|
1086
|
+
* @param data - Optional video metadata (available in vertical player)
|
|
1086
1087
|
*/
|
|
1087
|
-
onReady?: () => void;
|
|
1088
|
+
onReady?: (data?: CurrentVideoData_2) => void;
|
|
1088
1089
|
/**
|
|
1089
1090
|
* Called when playback starts
|
|
1091
|
+
* @param data - Optional video metadata (available in vertical player)
|
|
1090
1092
|
*/
|
|
1091
|
-
onPlay?: () => void;
|
|
1093
|
+
onPlay?: (data?: CurrentVideoData_2) => void;
|
|
1092
1094
|
/**
|
|
1093
1095
|
* Called when playback is paused
|
|
1094
1096
|
*/
|