Files
bsky-social-app/src/view/com/util/post-embeds/VideoEmbedInner/VideoWebControls.tsx
T
2024-08-07 14:45:06 -07:00

17 lines
443 B
TypeScript

import React from 'react'
import type Hls from 'hls.js'
export function Controls({}: {
videoRef: React.RefObject<HTMLVideoElement>
hlsRef: React.RefObject<Hls | undefined>
active: boolean
setActive: () => void
focused: boolean
setFocused: (focused: boolean) => void
onScreen: boolean
fullscreenRef: React.RefObject<HTMLDivElement>
hasSubtitleTrack: boolean
}): React.ReactElement {
throw new Error('Web-only component')
}