]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/standalone/player/definitions.ts
Improve video edit/update/add typings
[github/Chocobozzz/PeerTube.git] / client / src / standalone / player / definitions.ts
1 export interface EventHandler<T> {
2 (ev: T): void
3 }
4
5 export type PlayerEventType =
6 'pause' | 'play' |
7 'playbackStatusUpdate' |
8 'playbackStatusChange' |
9 'resolutionUpdate'
10
11 export interface PeerTubeResolution {
12 id: any
13 label: string
14 src: string
15 active: boolean
16 }