aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/standalone/player/definitions.ts
blob: afd10541bbf311a02a34777b2d215c172aa07532 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             
 




                             

                                     




                 
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
}