@zezosoft/zezo-ott-react-native-video-player
Version:
React Native OTT Video Player for Android & iOS. Supports playlists, seasons, auto-next playback, subtitles, theming, analytics, fullscreen mode, and custom controls. 🚀 Powered by ZezoSoft.
22 lines • 785 B
TypeScript
import React from 'react';
import type { MediaEpisode } from './store/videoPlayer.type';
import { type VideoPlayerTheme } from './context';
import { type ExtendedWatchProgress } from './utils/useWatchReporter';
export interface VideoPlayerProps {
onClose?: () => void;
isFocused?: boolean;
seekTime?: number | null;
mode?: 'fullscreen' | 'normal';
onSeek?: (time: number) => void;
autoNext?: boolean;
event?: {
onPressEpisode?: ({ episode, }: {
episode: MediaEpisode;
}) => Promise<boolean>;
};
theme?: Partial<VideoPlayerTheme>;
onWatchProgress?: (progress: ExtendedWatchProgress) => void;
}
declare const VideoPlayer: React.FC<VideoPlayerProps>;
export default VideoPlayer;
//# sourceMappingURL=VideoPlayer.d.ts.map