about summary refs log tree commit diff
path: root/src/view/com/util/post-embeds/VideoWebControls.tsx
blob: 11e0867e43aeac2e9acdf8fdd8695644ffcbaa6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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')
}