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