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


                             
                      
                                     
               
                 


                
 
export type EventHandler<T> = (ev: T) => void

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

export interface PeerTubeResolution {
  id: any
  label: string
  active: boolean
  height: number

  src?: string
  width?: number
}