react-native-video-player
Version:
A <VideoPlayer /> component for React Native with controls
22 lines • 1.13 kB
TypeScript
import type { CustomStyles, VideoPlayerProps } from 'react-native-video-player';
import type { ProgressRef } from './Controls';
export interface SeekbarProps {
autoplay: VideoPlayerProps['autoplay'];
isPlaying: boolean;
setIsPlaying: (isPlaying: boolean) => void;
fullWidth?: boolean;
disableSeek: VideoPlayerProps['disableSeek'];
showControls: () => void;
onSeek: (progress: number) => void;
onSeeking: (progress: number) => void;
controlsTimeoutId: NodeJS.Timeout | null;
duration: number;
seekBarCustomStyles?: CustomStyles['seekBar'];
seekBarFullWidthCustomStyles?: CustomStyles['seekBarFullWidth'];
seekBarProgressCustomStyles?: CustomStyles['seekBarProgress'];
seekBarKnobCustomStyles?: CustomStyles['seekBarKnob'];
seekBarKnobSeekingCustomStyles?: CustomStyles['seekBarKnobSeeking'];
seekBarBackgroundCustomStyles?: CustomStyles['seekBarBackground'];
}
export declare const Seekbar: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<SeekbarProps & import("react").RefAttributes<ProgressRef>>>;
//# sourceMappingURL=Seekbar.d.ts.map