007c21fa8e
Co-authored-by: Claude <noreply@anthropic.com>
18 lines
488 B
TypeScript
18 lines
488 B
TypeScript
import type Hls from 'hls.js'
|
|
|
|
export type ControlsProps = {
|
|
videoRef: React.RefObject<HTMLVideoElement | null>
|
|
hlsRef: React.RefObject<Hls | undefined | null>
|
|
active: boolean
|
|
setActive: () => void
|
|
focused: boolean
|
|
setFocused: (focused: boolean) => void
|
|
onScreen: boolean
|
|
fullscreenRef: React.RefObject<HTMLDivElement | null>
|
|
hlsLoading: boolean
|
|
hasSubtitleTrack: boolean
|
|
isGif: boolean
|
|
altText?: string
|
|
updateCuePositions: (controlsVisible?: boolean) => void
|
|
}
|