]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/standalone/player/definitions.ts
Ability to programmatically control embeds (#776)
[github/Chocobozzz/PeerTube.git] / client / src / standalone / player / definitions.ts
CommitLineData
99941732
WL
1
2export interface EventHandler<T> {
3 (ev : T) : void
4}
5
6export type PlayerEventType =
7 'pause' | 'play' |
8 'playbackStatusUpdate' |
9 'playbackStatusChange' |
10 'resolutionUpdate'
11;
12
13export interface PeerTubeResolution {
14 id : any
15 label : string
16 src : string
17 active : boolean
18}