forked from opencast/opencast-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
editor-settings.toml
194 lines (156 loc) · 5.32 KB
/
editor-settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
####
# Opencast Stand-alone Video Editor
##
# This file contains the editord default configuration and our recommendation for production use.
# All values in here aer set to their defaults.
# ⚠️ When deployed, this file is publicly accessibly!
####
# General Settings
##
# Allowed prefixes in callback urls to prevent malicious urls
# If empty, no callback url is allowed
# Type: string[]
# Default: []
#allowedCallbackPrefixes = []
# Url to go back after finishing editing
# If undefined, no return link will be shown on the end pages
# Type: string | undefined
# Default: undefined
#callbackUrl =
# Name of system to go back to
# If undefined, a generic system name is used instead of a speficic name
# Type: string | undefined
# Default: undefined
#callbackSystem =
####
# Metadata
##
[metadata]
# If the metadata editor appears in the main menu
# Type: boolean
# Default: true
#show = true
## Metadata display configuration
## Override various settings for how metadata catalogs and fields will be
## displayed in the editor. Configuration happens for each catalog separately.
##
## Configuration options for fields:
##
## show (boolean): Show or hide fields
## readonly (boolean): Mark fields as readonly
##
## Default behavior:
##
## - The default settings are based on Opencast's admin interface configuration
## - If catalogs are not specified, all of its fields will be displayed
## - If a catalog is specified but empty, it will not be displayed
##
## Example:
##
# # This is the default catalog
# [metadata.configureFields."EVENTS.EVENTS.DETAILS.CATALOG.EPISODE"]
# title = {show = true, readonly = false}
# subject = {show = false}
# description = {readonly = true}
#
# # This catalog is specified but empty, and as such will not be displayed
# [metadata.configureFields."NameOfAnExtendedMetadataCatalog"]
####
# Track Selection
##
[trackSelection]
# If the track selection appears in the main menu
# Type: boolean
# Default: true
#show = true
####
# Subtitles
##
[subtitles]
# If the subtitle editor appears in the main menu
# Before you enable the subtitle editor, you should define some languages
# under "subtitles.languages"
# Type: boolean
# Default: false
#show = false
# The main flavor of the subtitle tracks in Opencast
# No other tracks should have the same main flavor as subtitle tracks
# Type: string
# Default: "captions"
#mainFlavor = "captions"
[subtitles.languages]
## A list of languages for which new subtitles can be created
# For each language, various tags can be specified
# A list of officially recommended tags can be found at
# https://docs.opencast.org/develop/admin/#configuration/subtitles/#tags
# At least the "lang" tag MUST be specified
german = { lang = "de-DE" }
english = { lang = "en-US", type = "closed-caption" }
spanish = { lang = "es" }
[subtitles.icons]
# A list of icons to be displayed for languages defined above.
# Values are strings but should preferably be Unicode icons.
# These are optional and you can also choose to have no icons.
"de-DE" = "DE"
"en-US" = "EN"
"es" = "ES"
[subtitles.defaultVideoFlavor]
# Specify the default video in the subtitle video player by flavor
# If not specified, the editor will decide on a default by itself
# "type" = "presentation"
# "subtype" = "preview"
####
# Thumbnail Selection
##
[thumbnail]
# If the thumbnail editor appears in the main menu
# Type: boolean
# Default: false
#show = false
# Whether to use "simple" or "professional" mode.
# Professional mode allows users to edit all thumbnails that fit the subflavor
# specified in the Opencast configuration file
# `etc/org.opencastproject.editor.EditorServiceImpl.cfg`. It is useful
# when working with multiple thumbnails.
# Simple mode only allows users to edit the "primary" thumbnail, as specified
# in the Opencast configuration file
# `etc/org.opencastproject.editor.EditorServiceImpl.cfg`. It is useful
# when there is only a single thumbnail to worry about and you want hide
# potential fallbacks from the user. If a primary thumbnail cannot be
# determined, this falls back to professional mode.
# Type: boolean
# Default: false
#simpleMode = false
############################################################
# Settings for demo deployment
############################################################
# All settings from here on are ment for demo deployments and rarely useful for production.
# In general, these should be completely left out from deployments in Opencast.
# Id of the event that the editor should open by default.
# This is very useful as demo, but has no purpose otherwise.
# Type: string | undefined
# Default: undefined
#id =
[opencast]
# URL of the opencast server to connect to.
# The default will work just fine if integrated in Opencast.
# Type: URL
# Default: Current server
#url = 'https://develop.opencast.org'
# Username for HTTP basic authentication against Opencast.
# Not defining this will work just fine if integrated in Opencast.
# Type: string | undefined
# Default: undefined
#name =
# Password for HTTP basic authentication against Opencast.
# Not defining this will work just fine if integrated in Opencast.
# Type: string | undefined
# Default: undefined
#password =
# Replace media package URLs with local URLs if possible.
# This is done only if:
# - Opencast indicates that the files are available locally
# - Opencast URL has not been overwritten
# Type: boolean
# Default: true
#local =