diff options
author | Chocobozzz <me@florianbigard.com> | 2020-05-06 11:54:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-05-06 11:54:33 +0200 |
commit | 1151f5210c0e7665ec6714e73261f299e6fe757b (patch) | |
tree | 4d43e548a7d9ce7e7c4ecf6a257e9c8e395c3f95 /client/src/standalone/player/definitions.ts | |
parent | fc8aabd0bf38441c0591f21b9b435b52e99ffc23 (diff) | |
download | PeerTube-1151f5210c0e7665ec6714e73261f299e6fe757b.tar.gz PeerTube-1151f5210c0e7665ec6714e73261f299e6fe757b.tar.zst PeerTube-1151f5210c0e7665ec6714e73261f299e6fe757b.zip |
Add ability to update embed captions
Diffstat (limited to 'client/src/standalone/player/definitions.ts')
-rw-r--r-- | client/src/standalone/player/definitions.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/standalone/player/definitions.ts b/client/src/standalone/player/definitions.ts index 9fe903260..cc5203ed5 100644 --- a/client/src/standalone/player/definitions.ts +++ b/client/src/standalone/player/definitions.ts | |||
@@ -16,3 +16,10 @@ export interface PeerTubeResolution { | |||
16 | src?: string | 16 | src?: string |
17 | width?: number | 17 | width?: number |
18 | } | 18 | } |
19 | |||
20 | export type PeerTubeTextTrack = { | ||
21 | id: string | ||
22 | label: string | ||
23 | src: string | ||
24 | mode: 'showing' | 'disabled' | ||
25 | } | ||