aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/player/definitions.ts
blob: afd10541bbf311a02a34777b2d215c172aa07532 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export type EventHandler<T> = (ev: T) => void

export type PlayerEventType =
  'pause' | 'play' |
  'playbackStatusUpdate' |
  'playbackStatusChange' |
  'resolutionUpdate'

export interface PeerTubeResolution {
  id: any
  label: string
  src: string
  active: boolean
}