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

 




                             

                                     




                 
export interface EventHandler<T> {
  (ev: T): void
}

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

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