diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-12 19:02:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-16 11:50:08 +0200 |
commit | 40e87e9ecc54e3513fb586928330a7855eb192c6 (patch) | |
tree | af1111ecba85f9cd8286811ff332a67cf21be2f6 /shared/models/server | |
parent | d4557fd3ecc8d4ed4fb0e5c868929bc36c959ed2 (diff) | |
download | PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.gz PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.tar.zst PeerTube-40e87e9ecc54e3513fb586928330a7855eb192c6.zip |
Implement captions/subtitles
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 4 | ||||
-rw-r--r-- | shared/models/server/server-config.model.ts | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index a3a651cd8..9c4718e43 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -25,6 +25,10 @@ export interface CustomConfig { | |||
25 | previews: { | 25 | previews: { |
26 | size: number | 26 | size: number |
27 | } | 27 | } |
28 | |||
29 | captions: { | ||
30 | size: number | ||
31 | } | ||
28 | } | 32 | } |
29 | 33 | ||
30 | signup: { | 34 | signup: { |
diff --git a/shared/models/server/server-config.model.ts b/shared/models/server/server-config.model.ts index da0996dae..217d142cd 100644 --- a/shared/models/server/server-config.model.ts +++ b/shared/models/server/server-config.model.ts | |||
@@ -44,6 +44,15 @@ export interface ServerConfig { | |||
44 | } | 44 | } |
45 | } | 45 | } |
46 | 46 | ||
47 | videoCaption: { | ||
48 | file: { | ||
49 | size: { | ||
50 | max: number | ||
51 | }, | ||
52 | extensions: string[] | ||
53 | } | ||
54 | } | ||
55 | |||
47 | user: { | 56 | user: { |
48 | videoQuota: number | 57 | videoQuota: number |
49 | } | 58 | } |