]>
Commit | Line | Data |
---|---|---|
c4710631 | 1 | export type EventHandler<T> = (ev: T) => void |
99941732 | 2 | |
902aa3a0 C |
3 | export type PlayerEventType = |
4 | 'pause' | 'play' | | |
5 | 'playbackStatusUpdate' | | |
6 | 'playbackStatusChange' | | |
6377a9f2 C |
7 | 'resolutionUpdate' | |
8 | 'volumeChange' | |
99941732 WL |
9 | |
10 | export interface PeerTubeResolution { | |
902aa3a0 C |
11 | id: any |
12 | label: string | |
902aa3a0 | 13 | active: boolean |
6377a9f2 C |
14 | height: number |
15 | ||
16 | src?: string | |
17 | width?: number | |
902aa3a0 | 18 | } |
1151f521 C |
19 | |
20 | export type PeerTubeTextTrack = { | |
21 | id: string | |
22 | label: string | |
23 | src: string | |
9df52d66 | 24 | mode: TextTrackMode |
1151f521 | 25 | } |