aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone/player/definitions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/standalone/player/definitions.ts')
-rw-r--r--client/src/standalone/player/definitions.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/client/src/standalone/player/definitions.ts b/client/src/standalone/player/definitions.ts
new file mode 100644
index 000000000..6920672a7
--- /dev/null
+++ b/client/src/standalone/player/definitions.ts
@@ -0,0 +1,18 @@
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} \ No newline at end of file