UNPKG

@neuctra/ui

Version:

A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.

37 lines (36 loc) 985 B
import React from "react"; interface VideoPlayerProps { src: string; poster?: string; title?: string; autoPlay?: boolean; loop?: boolean; muted?: boolean; width?: string; height?: string; borderRadius?: string; theme?: 'dark' | 'light' | 'glass' | 'neon'; primaryColor?: string; className?: string; showProgress?: boolean; showVolumeSlider?: boolean; showSettings?: boolean; showDownload?: boolean; showShare?: boolean; showPiP?: boolean; showSubtitles?: boolean; showPlaybackSpeed?: boolean; showQuality?: boolean; previewThumbnails?: boolean; customControls?: boolean; hideControlsDelay?: number; seekStep?: number; volumeStep?: number; onPlay?: () => void; onPause?: () => void; onEnded?: () => void; onTimeUpdate?: (time: number) => void; onVolumeChange?: (volume: number) => void; } export declare const VideoPlayer: React.FC<VideoPlayerProps>; export {};