Fix is managaeble for channels
[oweals/peertube.git] / client / src / standalone / player / definitions.ts
1 export type EventHandler<T> = (ev: T) => void
2
3 export type PlayerEventType =
4   'pause' | 'play' |
5   'playbackStatusUpdate' |
6   'playbackStatusChange' |
7   'resolutionUpdate' |
8   'volumeChange'
9
10 export interface PeerTubeResolution {
11   id: any
12   label: string
13   active: boolean
14   height: number
15
16   src?: string
17   width?: number
18 }