UNPKG

@zezosoft/react-player

Version:

A lightweight and customizable video player by Zezosoft, built for seamless streaming with advanced controls, adaptive playback, and modern UI. Perfect for web and React applications.

11 lines (10 loc) 481 B
export declare const useVideoEvents: () => { onRightClick: (e: React.MouseEvent<HTMLVideoElement>) => void; onSeeked: (e: React.SyntheticEvent<HTMLVideoElement>) => void; onTimeUpdate: (e: React.SyntheticEvent<HTMLVideoElement>) => void; onLoadedMetadata: (e: React.SyntheticEvent<HTMLVideoElement>) => void; onProgress: (e: React.SyntheticEvent<HTMLVideoElement>) => void; onPlay: () => void; onPause: () => void; onEnded: (e: unknown) => void; };