unified-video-framework
Version:
Cross-platform video player framework supporting iOS, Android, Web, Smart TVs (Samsung/LG), Roku, and more
22 lines • 752 B
TypeScript
import React from 'react';
import { VideoSegment, VideoChapters, SEGMENT_COLORS } from '../../chapters/types/ChapterTypes';
export interface ChapterMarker {
segment: VideoSegment;
position: number;
color: string;
label: string;
}
export interface ChapterProgressProps {
chapters: VideoChapters | null;
progress?: number;
buffered?: number;
showMarkers?: boolean;
markerColors?: Partial<typeof SEGMENT_COLORS>;
onMarkerClick?: (segment: VideoSegment) => void;
onProgressClick?: (percentage: number) => void;
className?: string;
style?: React.CSSProperties;
interactive?: boolean;
}
export declare const ChapterProgress: React.FC<ChapterProgressProps>;
//# sourceMappingURL=ChapterProgress.d.ts.map