1
0
Fork 0
peertube/client/src/standalone/player/definitions.ts

18 lines
309 B
TypeScript
Raw Normal View History

export interface EventHandler<T> {
(ev : T) : void
}
export type PlayerEventType =
'pause' | 'play' |
'playbackStatusUpdate' |
'playbackStatusChange' |
'resolutionUpdate'
;
export interface PeerTubeResolution {
id : any
label : string
src : string
active : boolean
}