]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/standalone/player/definitions.ts
Handle start at/stop at in playlist embed
[github/Chocobozzz/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 }
19
20 export type PeerTubeTextTrack = {
21 id: string
22 label: string
23 src: string
24 mode: 'showing' | 'disabled'
25 }