1 <h1 class=
"sr-only" i18n
>Configuration
</h1>
2 <form role=
"form" [formGroup]=
"form">
4 <div ngbNav #
nav=
"ngbNav" [activeId]=
"activeNav" (activeIdChange)=
"onNavChange($event)" class=
"nav-tabs">
6 <ng-container ngbNavItem=
"instance-information">
7 <a ngbNavLink i18n
>Instance information
</a>
9 <ng-template ngbNavContent
>
11 <ng-container formGroupName=
"instance">
13 <div class=
"form-row mt-5"> <!-- instance grid -->
14 <div class=
"form-group col-12 col-lg-4 col-xl-3">
15 <div i18n
class=
"inner-form-title">INSTANCE
</div>
18 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
20 <div class=
"form-group">
21 <label i18n
for=
"instanceName">Name
</label>
23 type=
"text" id=
"instanceName" class=
"form-control"
24 formControlName=
"name" [ngClass]=
"{ 'input-error': formErrors.instance.name }"
26 <div *
ngIf=
"formErrors.instance.name" class=
"form-error">{{ formErrors.instance.name }}
</div>
29 <div class=
"form-group">
30 <label i18n
for=
"instanceShortDescription">Short description
</label>
32 id=
"instanceShortDescription" formControlName=
"shortDescription" class=
"form-control small"
33 [ngClass]=
"{ 'input-error': formErrors['instance.shortDescription'] }"
35 <div *
ngIf=
"formErrors.instance.shortDescription" class=
"form-error">{{ formErrors.instance.shortDescription }}
</div>
38 <div class=
"form-group">
39 <label i18n
for=
"instanceDescription">Description
</label><my-help helpType=
"markdownText"></my-help>
41 name=
"instanceDescription" formControlName=
"description" textareaMaxWidth=
"500px"
42 [classes]=
"{ 'input-error': formErrors['instance.description'] }"
43 ></my-markdown-textarea>
44 <div *
ngIf=
"formErrors.instance.description" class=
"form-error">{{ formErrors.instance.description }}
</div>
47 <div class=
"form-group">
48 <label i18n
for=
"instanceCategories">Main instance categories
</label>
52 id=
"instanceCategories"
53 formControlName=
"categories" [availableItems]=
"categoryItems"
54 [selectableGroup]=
"false"
55 i18n-placeholder
placeholder=
"Add a new category"
61 <div class=
"form-group">
62 <label i18n
for=
"instanceLanguages">Main languages you/your moderators speak
</label>
66 id=
"instanceLanguages"
67 formControlName=
"languages" [availableItems]=
"languageItems"
68 [selectableGroup]=
"false"
69 i18n-placeholder
placeholder=
"Add a new language"
78 <div class=
"form-row mt-4"> <!-- moderation & nsfw grid -->
79 <div class=
"form-group col-12 col-lg-4 col-xl-3">
80 <div i18n
class=
"inner-form-title">MODERATION & NSFW
</div>
81 <div i18n
class=
"inner-for-description">
82 Manage
<a routerLink=
"/admin/users">users
</a> to build a moderation team.
86 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
88 <div class=
"form-group">
89 <my-peertube-checkbox inputName=
"instanceIsNSFW" formControlName=
"isNSFW">
90 <ng-template ptTemplate=
"label">
91 <ng-container i18n
>This instance is dedicated to sensitive or NSFW content
</ng-container>
94 <ng-template ptTemplate=
"help">
96 Enabling it will allow other administrators to know that you are mainly federating sensitive content.
<br /><br />
97 Moreover, the NSFW checkbox on video upload will be automatically checked by default.
100 </my-peertube-checkbox>
103 <div class=
"form-group">
104 <label i18n
for=
"instanceDefaultNSFWPolicy">Policy on videos containing sensitive content
</label>
107 <ng-template ptTemplate=
"customHtml">
109 With
<strong>Do not list
</strong> or
<strong>Blur thumbnails
</strong>, a confirmation will be requested to watch the video.
114 <div class=
"peertube-select-container">
115 <select id=
"instanceDefaultNSFWPolicy" formControlName=
"defaultNSFWPolicy" class=
"form-control">
116 <option i18n
value=
"undefined" disabled
>Policy for sensitive videos
</option>
117 <option i18n
value=
"do_not_list">Do not list
</option>
118 <option i18n
value=
"blur">Blur thumbnails
</option>
119 <option i18n
value=
"display">Display
</option>
122 <div *
ngIf=
"formErrors.instance.defaultNSFWPolicy" class=
"form-error">{{ formErrors.instance.defaultNSFWPolicy }}
</div>
125 <div class=
"form-group">
126 <label i18n
for=
"instanceTerms">Terms
</label><my-help helpType=
"markdownText"></my-help>
127 <my-markdown-textarea
128 name=
"instanceTerms" formControlName=
"terms" textareaMaxWidth=
"500px"
129 [ngClass]=
"{ 'input-error': formErrors['instance.terms'] }"
130 ></my-markdown-textarea>
131 <div *
ngIf=
"formErrors.instance.terms" class=
"form-error">{{ formErrors.instance.terms }}
</div>
134 <div class=
"form-group">
135 <label i18n
for=
"instanceCodeOfConduct">Code of conduct
</label><my-help helpType=
"markdownText"></my-help>
136 <my-markdown-textarea
137 name=
"instanceCodeOfConduct" formControlName=
"codeOfConduct" textareaMaxWidth=
"500px"
138 [ngClass]=
"{ 'input-error': formErrors['instance.codeOfConduct'] }"
139 ></my-markdown-textarea>
140 <div *
ngIf=
"formErrors.instance.codeOfConduct" class=
"form-error">{{ formErrors.instance.codeOfConduct }}
</div>
143 <div class=
"form-group">
144 <label i18n
for=
"instanceModerationInformation">Moderation information
</label><my-help helpType=
"markdownText"></my-help>
145 <div i18n
class=
"label-small-info">Who moderates the instance? What is the policy regarding NSFW videos? Political videos? etc
</div>
147 <my-markdown-textarea
148 name=
"instanceModerationInformation" formControlName=
"moderationInformation" textareaMaxWidth=
"500px"
149 [ngClass]=
"{ 'input-error': formErrors['instance.moderationInformation'] }"
150 ></my-markdown-textarea>
151 <div *
ngIf=
"formErrors.instance.moderationInformation" class=
"form-error">{{ formErrors.instance.moderationInformation }}
</div>
157 <div class=
"form-row mt-4"> <!-- you and your instance grid -->
158 <div class=
"form-group col-12 col-lg-4 col-xl-3">
159 <div i18n
class=
"inner-form-title">YOU AND YOUR INSTANCE
</div>
162 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
164 <div class=
"form-group">
165 <label i18n
for=
"instanceAdministrator">Who is behind the instance?
</label><my-help helpType=
"markdownText"></my-help>
166 <div i18n
class=
"label-small-info">A single person? A non-profit? A company?
</div>
168 <my-markdown-textarea
169 name=
"instanceAdministrator" formControlName=
"administrator" textareaMaxWidth=
"500px"
170 [classes]=
"{ 'input-error': formErrors['instance.administrator'] }"
171 ></my-markdown-textarea>
173 <div *
ngIf=
"formErrors.instance.administrator" class=
"form-error">{{ formErrors.instance.administrator }}
</div>
176 <div class=
"form-group">
177 <label i18n
for=
"instanceCreationReason">Why did you create this instance?
</label><my-help helpType=
"markdownText"></my-help>
178 <div i18n
class=
"label-small-info">To share your personal videos? To open registrations and allow people to upload what they want?
</div>
180 <my-markdown-textarea
181 name=
"instanceCreationReason" formControlName=
"creationReason" textareaMaxWidth=
"500px"
182 [ngClass]=
"{ 'input-error': formErrors['instance.creationReason'] }"
183 ></my-markdown-textarea>
184 <div *
ngIf=
"formErrors.instance.creationReason" class=
"form-error">{{ formErrors.instance.creationReason }}
</div>
187 <div class=
"form-group">
188 <label i18n
for=
"instanceMaintenanceLifetime">How long do you plan to maintain this instance?
</label><my-help helpType=
"markdownText"></my-help>
189 <div i18n
class=
"label-small-info">It's important to know for users who want to register on your instance
</div>
191 <my-markdown-textarea
192 name=
"instanceMaintenanceLifetime" formControlName=
"maintenanceLifetime" textareaMaxWidth=
"500px"
193 [ngClass]=
"{ 'input-error': formErrors['instance.maintenanceLifetime'] }"
194 ></my-markdown-textarea>
195 <div *
ngIf=
"formErrors.instance.maintenanceLifetime" class=
"form-error">{{ formErrors.instance.maintenanceLifetime }}
</div>
198 <div class=
"form-group">
199 <label i18n
for=
"instanceBusinessModel">How will you finance the PeerTube server?
</label><my-help helpType=
"markdownText"></my-help>
200 <div i18n
class=
"label-small-info">With your own funds? With user donations? Advertising?
</div>
202 <my-markdown-textarea
203 name=
"instanceBusinessModel" formControlName=
"businessModel" textareaMaxWidth=
"500px"
204 [ngClass]=
"{ 'input-error': formErrors['instance.businessModel'] }"
205 ></my-markdown-textarea>
206 <div *
ngIf=
"formErrors.instance.businessModel" class=
"form-error">{{ formErrors.instance.businessModel }}
</div>
212 <div class=
"form-row mt-4"> <!-- other information grid -->
213 <div class=
"form-group col-12 col-lg-4 col-xl-3">
214 <div i18n
class=
"inner-form-title">OTHER INFORMATION
</div>
217 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
219 <div class=
"form-group">
220 <label i18n
for=
"instanceHardwareInformation">What server/hardware does the instance run on?
</label>
221 <div i18n
class=
"label-small-info">i.e.
2vCore
2GB RAM, a direct the link to the server you rent, etc.
</div>
223 <my-markdown-textarea
224 name=
"instanceHardwareInformation" formControlName=
"hardwareInformation" textareaMaxWidth=
"500px"
225 [classes]=
"{ 'input-error': formErrors['instance.hardwareInformation'] }"
226 ></my-markdown-textarea>
228 <div *
ngIf=
"formErrors.instance.hardwareInformation" class=
"form-error">{{ formErrors.instance.hardwareInformation }}
</div>
238 <ng-container ngbNavItem=
"basic-configuration">
239 <a ngbNavLink i18n
>Basic configuration
</a>
241 <ng-template ngbNavContent
>
243 <div class=
"form-row mt-5"> <!-- appearance grid -->
244 <div class=
"form-group col-12 col-lg-4 col-xl-3">
245 <div i18n
class=
"inner-form-title">APPEARANCE
</div>
246 <div i18n
class=
"inner-form-description">
247 Use
<a routerLink=
"/admin/plugins">plugins & themes
</a> for more involved changes, or
<a routerLink=
"/admin/config/edit-custom" fragment=
"customizations" (click)=
"gotoAnchor()">add slight customizations
</a>.
251 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
253 <ng-container formGroupName=
"theme">
254 <div class=
"form-group">
255 <label i18n
for=
"themeDefault">Theme
</label>
257 <div class=
"peertube-select-container">
258 <select formControlName=
"default" id=
"themeDefault" class=
"form-control">
259 <option i18n
value=
"default">default
</option>
261 <option *
ngFor=
"let theme of availableThemes" [value]=
"theme">{{ theme }}
</option>
267 <div class=
"form-group" formGroupName=
"instance">
268 <label i18n
for=
"instanceDefaultClientRoute">Landing page
</label>
269 <div class=
"peertube-select-container">
270 <select id=
"instanceDefaultClientRoute" formControlName=
"defaultClientRoute" class=
"form-control">
271 <option i18n
value=
"/videos/overview">Discover videos
</option>
272 <optgroup i18n-label
label=
"Trending pages">
273 <option i18n
value=
"/videos/trending">Default trending page
</option>
274 <option i18n
value=
"/videos/trending?alg=best" [disabled]=
"!trendingVideosAlgorithmsEnabledIncludes('best')">Best videos
</option>
275 <option i18n
value=
"/videos/trending?alg=hot" [disabled]=
"!trendingVideosAlgorithmsEnabledIncludes('hot')">Hot videos
</option>
276 <option i18n
value=
"/videos/trending?alg=most-viewed" [disabled]=
"!trendingVideosAlgorithmsEnabledIncludes('most-viewed')">Most viewed videos
</option>
277 <option i18n
value=
"/videos/trending?alg=most-liked" [disabled]=
"!trendingVideosAlgorithmsEnabledIncludes('most-liked')">Most liked videos
</option>
279 <option i18n
value=
"/videos/recently-added">Recently added videos
</option>
280 <option i18n
value=
"/videos/local">Local videos
</option>
283 <div *
ngIf=
"formErrors.instance.defaultClientRoute" class=
"form-error">{{ formErrors.instance.defaultClientRoute }}
</div>
286 <div class=
"form-group" formGroupName=
"trending">
287 <ng-container formGroupName=
"videos">
288 <ng-container formGroupName=
"algorithms">
289 <label i18n
for=
"trendingVideosAlgorithmsDefault">Default trending page
</label>
290 <div class=
"peertube-select-container">
291 <select id=
"trendingVideosAlgorithmsDefault" formControlName=
"default" class=
"form-control">
292 <option i18n
value=
"best">Best videos
</option>
293 <option i18n
value=
"hot">Hot videos
</option>
294 <option i18n
value=
"most-viewed">Most viewed videos
</option>
295 <option i18n
value=
"most-liked">Most liked videos
</option>
298 <div *
ngIf=
"formErrors.trending.videos.algorithms.default" class=
"form-error">{{ formErrors.trending.videos.algorithms.default }}
</div>
306 <div class=
"form-row mt-4"> <!-- broadcast grid -->
307 <div class=
"form-group col-12 col-lg-4 col-xl-3">
308 <div i18n
class=
"inner-form-title">BROADCAST MESSAGE
</div>
309 <div i18n
class=
"inner-for-description">
310 Display a message on your instance
314 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
316 <ng-container formGroupName=
"broadcastMessage">
318 <div class=
"form-group">
319 <my-peertube-checkbox
320 inputName=
"broadcastMessageEnabled" formControlName=
"enabled"
321 i18n-labelText
labelText=
"Enable broadcast message"
322 ></my-peertube-checkbox>
325 <div class=
"form-group">
326 <my-peertube-checkbox
327 inputName=
"broadcastMessageDismissable" formControlName=
"dismissable"
328 i18n-labelText
labelText=
"Allow users to dismiss the broadcast message "
329 ></my-peertube-checkbox>
332 <div class=
"form-group">
333 <label i18n
for=
"broadcastMessageLevel">Broadcast message level
</label>
334 <div class=
"peertube-select-container">
335 <select id=
"broadcastMessageLevel" formControlName=
"level" class=
"form-control">
336 <option value=
"info">info
</option>
337 <option value=
"warning">warning
</option>
338 <option value=
"error">error
</option>
341 <div *
ngIf=
"formErrors.broadcastMessage.level" class=
"form-error">{{ formErrors.broadcastMessage.level }}
</div>
344 <div class=
"form-group">
345 <label i18n
for=
"broadcastMessageMessage">Message
</label><my-help helpType=
"markdownText"></my-help>
346 <my-markdown-textarea
347 name=
"broadcastMessageMessage" formControlName=
"message" textareaMaxWidth=
"500px"
348 [classes]=
"{ 'input-error': formErrors['broadcastMessage.message'] }"
349 ></my-markdown-textarea>
350 <div *
ngIf=
"formErrors.broadcastMessage.message" class=
"form-error">{{ formErrors.broadcastMessage.message }}
</div>
358 <div class=
"form-row mt-4"> <!-- new users grid -->
359 <div class=
"form-group col-12 col-lg-4 col-xl-3">
360 <div i18n
class=
"inner-form-title">NEW USERS
</div>
361 <div i18n
class=
"inner-for-description">
362 Manage
<a routerLink=
"/admin/users">users
</a> to set their quota individually.
366 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
368 <ng-container formGroupName=
"signup">
369 <div class=
"form-group">
370 <my-peertube-checkbox
371 inputName=
"signupEnabled" formControlName=
"enabled"
372 i18n-labelText
labelText=
"Enable Signup"
374 <ng-container ngProjectAs=
"description">
375 <span i18n
>⚠️ This functionality requires a lot of attention and extra moderation.
</span>
377 <div class=
"alert alert-info alert-signup" *
ngIf=
"signupAlertMessage">{{ signupAlertMessage }}
</div>
379 <ng-container ngProjectAs=
"extra">
380 <my-peertube-checkbox [ngClass]=
"{ 'disabled-checkbox-extra': !isSignupEnabled() }"
381 inputName=
"signupRequiresEmailVerification" formControlName=
"requiresEmailVerification"
382 i18n-labelText
labelText=
"Signup requires email verification"
383 ></my-peertube-checkbox>
385 <div [ngClass]=
"{ 'disabled-checkbox-extra': !isSignupEnabled() }" class=
"mt-3">
386 <label i18n
for=
"signupLimit">Signup limit
</label>
387 <div class=
"number-with-unit">
389 type=
"number" min=
"-1" id=
"signupLimit" class=
"form-control"
390 formControlName=
"limit" [ngClass]=
"{ 'input-error': formErrors['signup.limit'] }"
392 <span i18n
>{form.value['signup']['limit'], plural, =
1 {user} other {users}}
</span>
394 <div *
ngIf=
"formErrors.signup.limit" class=
"form-error">{{ formErrors.signup.limit }}
</div>
395 <small *
ngIf=
"form.value['signup']['limit'] === -1" class=
"text-muted">Signup won't be limited to a fixed number of users.
</small>
398 </my-peertube-checkbox>
402 <ng-container formGroupName=
"user">
403 <div class=
"form-group">
404 <label i18n
for=
"userVideoQuota">Default video quota per user
</label>
406 <my-select-custom-value
408 [items]=
"videoQuotaOptions"
409 formControlName=
"videoQuota"
410 i18n-inputSuffix
inputSuffix=
"bytes" inputType=
"number"
412 ></my-select-custom-value>
414 <div *
ngIf=
"formErrors.user.videoQuota" class=
"form-error">{{ formErrors.user.videoQuota }}
</div>
417 <div class=
"form-group">
418 <label i18n
for=
"userVideoQuotaDaily">Default daily upload limit per user
</label>
420 <my-select-custom-value
421 id=
"userVideoQuotaDaily"
422 [items]=
"videoQuotaDailyOptions"
423 formControlName=
"videoQuotaDaily"
424 i18n-inputSuffix
inputSuffix=
"bytes" inputType=
"number"
426 ></my-select-custom-value>
428 <div *
ngIf=
"formErrors.user.videoQuotaDaily" class=
"form-error">{{ formErrors.user.videoQuotaDaily }}
</div>
435 <div class=
"form-row mt-4"> <!-- videos grid -->
436 <div class=
"form-group col-12 col-lg-4 col-xl-3">
437 <div i18n
class=
"inner-form-title">VIDEOS
</div>
440 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
442 <ng-container formGroupName=
"import">
444 <ng-container formGroupName=
"videos">
446 <div class=
"form-group mt-4">
447 <label i18n
for=
"importConcurrency">Import jobs concurrency
</label>
448 <span class=
"text-muted ml-1">
449 <span i18n
>allows to import multiple videos in parallel. ⚠️ Requires a PeerTube restart.
</span>
452 <div class=
"number-with-unit">
453 <input type=
"number" name=
"importConcurrency" formControlName=
"concurrency" />
454 <span i18n
>jobs in parallel
</span>
457 <div *
ngIf=
"formErrors.import.concurrency" class=
"form-error">{{ formErrors.import.concurrency }}
</div>
460 <div class=
"form-group" formGroupName=
"http">
461 <my-peertube-checkbox
462 inputName=
"importVideosHttpEnabled" formControlName=
"enabled"
463 i18n-labelText
labelText=
"Allow import with HTTP URL (e.g. YouTube)"
464 ></my-peertube-checkbox>
467 <div class=
"form-group" formGroupName=
"torrent">
468 <my-peertube-checkbox
469 inputName=
"importVideosTorrentEnabled" formControlName=
"enabled"
470 i18n-labelText
labelText=
"Allow import with a torrent file or a magnet URI"
471 ></my-peertube-checkbox>
477 <ng-container formGroupName=
"autoBlacklist">
478 <ng-container formGroupName=
"videos">
479 <ng-container formGroupName=
"ofUsers">
481 <div class=
"form-group">
482 <my-peertube-checkbox
483 inputName=
"autoBlacklistVideosOfUsersEnabled" formControlName=
"enabled"
484 i18n-labelText
labelText=
"Block new videos automatically"
486 <ng-container ngProjectAs=
"description">
487 <span i18n
>Unless a user is marked as trusted, their videos will stay private until a moderator reviews them.
</span>
489 </my-peertube-checkbox>
499 <div class=
"form-row mt-4"> <!-- search grid -->
500 <div class=
"form-group col-12 col-lg-4 col-xl-3">
501 <div i18n
class=
"inner-form-title">SEARCH
</div>
504 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
506 <ng-container formGroupName=
"search">
507 <ng-container formGroupName=
"remoteUri">
509 <div class=
"form-group">
510 <my-peertube-checkbox
511 inputName=
"searchRemoteUriUsers" formControlName=
"users"
512 i18n-labelText
labelText=
"Allow users to do remote URI/handle search"
514 <ng-container ngProjectAs=
"description">
515 <span i18n
>Allow
<strong>your users
</strong> to look up remote videos/actors that may not be federated with your instance
</span>
517 </my-peertube-checkbox>
520 <div class=
"form-group">
521 <my-peertube-checkbox
522 inputName=
"searchRemoteUriAnonymous" formControlName=
"anonymous"
523 i18n-labelText
labelText=
"Allow anonymous to do remote URI/handle search"
525 <ng-container ngProjectAs=
"description">
526 <span i18n
>Allow
<strong>anonymous users
</strong> to look up remote videos/actors that may not be federated with your instance
</span>
528 </my-peertube-checkbox>
533 <ng-container formGroupName=
"searchIndex">
534 <div class=
"form-group">
535 <my-peertube-checkbox
536 inputName=
"searchIndexEnabled" formControlName=
"enabled"
537 i18n-labelText
labelText=
"Enable global search"
539 <ng-container ngProjectAs=
"description">
540 <p i18n
>⚠️ This functionality depends heavily on the moderation of instances followed by the search index you select.
</p>
543 You should only use moderated search indexes in production, or
<a href=
"https://framagit.org/framasoft/peertube/search-index">host your own
</a>.
547 <ng-container ngProjectAs=
"extra">
548 <div [ngClass]=
"{ 'disabled-checkbox-extra': !isSearchIndexEnabled() }">
549 <label i18n
for=
"searchIndexUrl">Search index URL
</label>
551 type=
"text" id=
"searchIndexUrl" class=
"form-control"
552 formControlName=
"url" [ngClass]=
"{ 'input-error': formErrors['search.searchIndex.url'] }"
554 <div *
ngIf=
"formErrors.search.searchIndex.url" class=
"form-error">{{ formErrors.search.searchIndex.url }}
</div>
558 <my-peertube-checkbox [ngClass]=
"{ 'disabled-checkbox-extra': !isSearchIndexEnabled() }"
559 inputName=
"searchIndexDisableLocalSearch" formControlName=
"disableLocalSearch"
560 i18n-labelText
labelText=
"Disable local search in search bar"
561 ></my-peertube-checkbox>
565 <my-peertube-checkbox [ngClass]=
"{ 'disabled-checkbox-extra': !isSearchIndexEnabled() }"
566 inputName=
"searchIndexIsDefaultSearch" formControlName=
"isDefaultSearch"
567 i18n-labelText
labelText=
"Search bar uses the global search index by default"
569 <ng-container ngProjectAs=
"description">
570 <span i18n
>Otherwise the local search stays used by default
</span>
572 </my-peertube-checkbox>
576 </my-peertube-checkbox>
586 <div class=
"form-row mt-4"> <!-- federation grid -->
587 <div class=
"form-group col-12 col-lg-4 col-xl-3">
588 <div i18n
class=
"inner-form-title">FEDERATION
</div>
589 <div i18n
class=
"inner-form-description">
590 Manage
<a routerLink=
"/admin/follows">relations
</a> with other instances.
594 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
596 <ng-container formGroupName=
"followers">
597 <ng-container formGroupName=
"instance">
599 <div class=
"form-group">
600 <my-peertube-checkbox
601 inputName=
"followersInstanceEnabled" formControlName=
"enabled"
602 i18n-labelText
labelText=
"Other instances can follow yours"
603 ></my-peertube-checkbox>
606 <div class=
"form-group">
607 <my-peertube-checkbox
608 inputName=
"followersInstanceManualApproval" formControlName=
"manualApproval"
609 i18n-labelText
labelText=
"Manually approve new instance followers"
610 ></my-peertube-checkbox>
615 <ng-container formGroupName=
"followings">
616 <ng-container formGroupName=
"instance">
618 <ng-container formGroupName=
"autoFollowBack">
619 <div class=
"form-group">
620 <my-peertube-checkbox
621 inputName=
"followingsInstanceAutoFollowBackEnabled" formControlName=
"enabled"
622 i18n-labelText
labelText=
"Automatically follow back instances"
624 <ng-container ngProjectAs=
"description">
625 <span i18n
>⚠️ This functionality requires a lot of attention and extra moderation.
</span>
627 </my-peertube-checkbox>
631 <ng-container formGroupName=
"autoFollowIndex">
632 <div class=
"form-group">
633 <my-peertube-checkbox
634 inputName=
"followingsInstanceAutoFollowIndexEnabled" formControlName=
"enabled"
635 i18n-labelText
labelText=
"Automatically follow instances of a public index"
637 <ng-container ngProjectAs=
"description">
638 <p i18n
>⚠️ This functionality requires a lot of attention and extra moderation.
</p>
641 You should only follow moderated indexes in production, or
<a href=
"https://framagit.org/framasoft/peertube/instances-peertube#peertube-auto-follow">host your own
</a>.
645 <ng-container ngProjectAs=
"extra">
646 <div [ngClass]=
"{ 'disabled-checkbox-extra': !isAutoFollowIndexEnabled() }">
647 <label i18n
for=
"followingsInstanceAutoFollowIndexUrl">Index URL
</label>
649 type=
"text" id=
"followingsInstanceAutoFollowIndexUrl" class=
"form-control"
650 formControlName=
"indexUrl" [ngClass]=
"{ 'input-error': formErrors['followings.instance.autoFollowIndex.indexUrl'] }"
652 <div *
ngIf=
"formErrors.followings.instance.autoFollowIndex.indexUrl" class=
"form-error">{{ formErrors.followings.instance.autoFollowIndex.indexUrl }}
</div>
655 </my-peertube-checkbox>
665 <div class=
"form-row mt-4"> <!-- administrators grid -->
666 <div class=
"form-group col-12 col-lg-4 col-xl-3">
667 <div i18n
class=
"inner-form-title">ADMINISTRATORS
</div>
670 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
672 <div class=
"form-group" formGroupName=
"admin">
673 <label i18n
for=
"adminEmail">Admin email
</label>
675 type=
"text" id=
"adminEmail" class=
"form-control"
676 formControlName=
"email" [ngClass]=
"{ 'input-error': formErrors['admin.email'] }"
678 <div *
ngIf=
"formErrors.admin.email" class=
"form-error">{{ formErrors.admin.email }}
</div>
681 <div class=
"form-group" formGroupName=
"contactForm">
682 <my-peertube-checkbox
683 inputName=
"enableContactForm" formControlName=
"enabled"
684 i18n-labelText
labelText=
"Enable contact form"
685 ></my-peertube-checkbox>
691 <div class=
"form-row mt-4"> <!-- Twitter grid -->
692 <div class=
"form-group col-12 col-lg-4 col-xl-3">
693 <div i18n
class=
"inner-form-title">TWITTER
</div>
694 <div i18n
class=
"inner-form-description">
695 Provide the Twitter account representing your instance to improve link previews.
696 If you don't have a Twitter account, just leave the default value.
700 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
702 <ng-container formGroupName=
"services">
703 <ng-container formGroupName=
"twitter">
705 <div class=
"form-group">
706 <label i18n
for=
"signupLimit">Your Twitter username
</label>
709 type=
"text" id=
"servicesTwitterUsername" class=
"form-control"
710 formControlName=
"username" [ngClass]=
"{ 'input-error': formErrors['services.twitter.username'] }"
712 <div *
ngIf=
"formErrors.services.twitter.username" class=
"form-error">{{ formErrors.services.twitter.username }}
</div>
715 <div class=
"form-group">
716 <my-peertube-checkbox inputName=
"servicesTwitterWhitelisted" formControlName=
"whitelisted">
717 <ng-template ptTemplate=
"label">
718 <ng-container i18n
>Instance allowed by Twitter
</ng-container>
721 <ng-template ptTemplate=
"help">
723 If your instance is explicitly allowed by Twitter, a video player will be embedded in the Twitter feed on PeerTube video share.
<br />
724 If the instance is not, we use an image link card that will redirect to your PeerTube instance.
<br /><br />
725 Check this checkbox, save the configuration and test with a video URL of your instance (https://example.com/videos/watch/blabla) on
726 <a target='_blank' rel='noopener noreferrer' href='https://cards-dev.twitter.com/validator'
>https://cards-dev.twitter.com/validator
</a>
727 to see if you instance is allowed.
730 </my-peertube-checkbox>
741 <ng-container ngbNavItem=
"transcoding">
742 <a ngbNavLink i18n
>VOD Transcoding
</a>
744 <ng-template ngbNavContent
>
746 <div class=
"form-row mt-4"> <!-- transcoding grid -->
747 <div class=
"form-group col-12 col-lg-4 col-xl-3"></div>
748 <div class=
"form-group form-group-right col-12 col-lg-8">
750 <div class=
"callout callout-info">
752 Estimating a server's capacity to transcode and stream videos isn't easy and we can't tune PeerTube automatically.
755 However, you may want to read our guidelines before tweaking the following values.
758 <div class=
"callout-container">
759 <a class=
"callout-link" target=
"_blank" rel=
"noopener noreferrer" href=
"https://docs.joinpeertube.org/#/admin-configuration?id=transcoding" i18n
>Read guidelines
</a>
767 <div class=
"form-row mt-2"> <!-- transcoding grid -->
768 <div class=
"form-group col-12 col-lg-4 col-xl-3">
769 <div i18n
class=
"inner-form-title">TRANSCODING
</div>
770 <div i18n
class=
"inner-form-description">
771 Process uploaded videos so that they are in a streamable form that any device can play. Though costly in
772 resources, this is a critical part of PeerTube, so tread carefully.
776 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
778 <ng-container formGroupName=
"transcoding">
780 <div class=
"form-group mb-0 col-12 col-xl-11">
781 <my-peertube-checkbox inputName=
"transcodingEnabled" formControlName=
"enabled" [recommended]=
"true">
782 <ng-template ptTemplate=
"label">
783 <ng-container i18n
>Transcoding enabled
</ng-container>
786 <ng-container ngProjectAs=
"extra">
788 <div class=
"callout callout-light pt-2 pb-0">
789 <label i18n
>Input formats
</label>
791 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
792 <my-peertube-checkbox
793 inputName=
"transcodingAllowAdditionalExtensions" formControlName=
"allowAdditionalExtensions"
794 i18n-labelText
labelText=
"Allow additional extensions"
796 <ng-container ngProjectAs=
"description">
797 <span i18n
>Allows users to upload .mkv, .mov, .avi, .wmv, .flv, .f4v,
.3g2,
.3gp, .mts, .m2ts, .mxf, or .nut videos.
</span>
799 </my-peertube-checkbox>
802 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
803 <my-peertube-checkbox
804 inputName=
"transcodingAllowAudioFiles" formControlName=
"allowAudioFiles"
805 i18n-labelText
labelText=
"Allow audio files upload"
807 <ng-container ngProjectAs=
"description">
808 <div i18n
>Allows users to upload .mp3, .ogg, .wma, .flac, .aac, or .ac3 audio files.
</div>
809 <div i18n
>The file will be merged in a still image video with the preview file on upload.
</div>
811 </my-peertube-checkbox>
815 <div class=
"callout callout-light pt-2 mt-2 pb-0">
816 <label i18n
>Output formats
</label>
818 <ng-container formGroupName=
"webtorrent">
819 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
820 <my-peertube-checkbox
821 inputName=
"transcodingWebTorrentEnabled" formControlName=
"enabled"
822 i18n-labelText
labelText=
"WebTorrent enabled"
824 <ng-template ptTemplate=
"help">
826 <p>If you also enabled HLS support, it will multiply videos storage by
2</p>
830 <strong>If disabled, breaks federation with PeerTube instances <
2.1</strong>
833 </my-peertube-checkbox>
837 <ng-container formGroupName=
"hls">
838 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
839 <my-peertube-checkbox
840 inputName=
"transcodingHlsEnabled" formControlName=
"enabled"
841 i18n-labelText
labelText=
"HLS with P2P support enabled"
844 <ng-template ptTemplate=
"help">
846 <strong>Requires ffmpeg
>=
4.1</strong>
848 <p>Generate HLS playlists and fragmented MP4 files resulting in a better playback than with plain WebTorrent:
</p>
850 <li>Resolution change is smoother
</li>
851 <li>Faster playback especially with long videos
</li>
852 <li>More stable playback (less bugs/infinite loading)
</li>
855 <p>If you also enabled WebTorrent support, it will multiply videos storage by
2</p>
858 </my-peertube-checkbox>
862 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
863 <label i18n
>Resolutions to generate per enabled format
</label>
865 <div class=
"ml-2 mt-2 d-flex flex-column">
866 <ng-container formGroupName=
"resolutions">
867 <div class=
"form-group" *
ngFor=
"let resolution of resolutions">
868 <my-peertube-checkbox
869 [inputName]=
"getResolutionKey(resolution.id)" [formControlName]=
"resolution.id"
870 labelText=
"{{ resolution.label }}"
872 <ng-template *
ngIf=
"resolution.description" ptTemplate=
"help">
873 <div [innerHTML]=
"resolution.description"></div>
875 </my-peertube-checkbox>
878 <span class=
"mb-2 text-muted" i18n
>
879 The original file resolution will be the default target if no option is selected.
887 </my-peertube-checkbox>
890 <div class=
"form-group mt-4" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
891 <label i18n
for=
"transcodingThreads">Transcoding threads
</label>
892 <span class=
"text-muted ml-1">
893 <ng-container *
ngIf=
"getTotalTranscodingThreads().atMost" i18n
>will claim at most {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with live transcoding
</ng-container>
894 <ng-container *
ngIf=
"!getTotalTranscodingThreads().atMost" i18n
>will claim at least {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with live transcoding
</ng-container>
897 <my-select-custom-value
898 id=
"transcodingThreads"
899 [items]=
"transcodingThreadOptions"
900 formControlName=
"threads"
902 ></my-select-custom-value>
904 <div *
ngIf=
"formErrors.transcoding.threads" class=
"form-error">{{ formErrors.transcoding.threads }}
</div>
907 <div class=
"form-group mt-4" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
908 <label i18n
for=
"transcodingConcurrency">Transcoding jobs concurrency
</label>
909 <span class=
"text-muted ml-1">
910 <span i18n
>allows to transcode multiple files in parallel. ⚠️ Requires a PeerTube restart.
</span>
913 <div class=
"number-with-unit">
914 <input type=
"number" name=
"transcodingConcurrency" formControlName=
"concurrency" />
915 <span i18n
>jobs in parallel
</span>
918 <div *
ngIf=
"formErrors.transcoding.concurrency" class=
"form-error">{{ formErrors.transcoding.concurrency }}
</div>
921 <div class=
"form-group mt-4" [ngClass]=
"{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
922 <label i18n
for=
"transcodingProfile">Transcoding profile
</label>
923 <span class=
"text-muted ml-1" i18n
>new transcoding profiles can be added by PeerTube plugins
</span>
926 id=
"transcodingProfile"
927 formControlName=
"profile"
928 [items]=
"getAvailableTranscodingProfile('vod')"
931 <ng-template ng-option-tmp
let-item=
"item" let-index=
"index">
933 <ng-container *
ngIf=
"item === 'default'">
935 <span class=
"text-muted" i18n
>x264, targeting maximum device compatibility
</span>
939 <div *
ngIf=
"formErrors.transcoding.profile" class=
"form-error">{{ formErrors.transcoding.profile }}
</div>
950 <ng-container ngbNavItem=
"live">
951 <a ngbNavLink i18n
>Live streaming
</a>
953 <ng-template ngbNavContent
>
955 <div class=
"form-row mt-5">
956 <div class=
"form-group col-12 col-lg-4 col-xl-3">
957 <div i18n
class=
"inner-form-title">LIVE
</div>
958 <div i18n
class=
"inner-form-description">
959 Enable users of your instance to stream live.
963 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
965 <ng-container formGroupName=
"live">
967 <div class=
"form-group">
968 <my-peertube-checkbox inputName=
"liveEnabled" formControlName=
"enabled">
969 <ng-template ptTemplate=
"label">
970 <ng-container i18n
>Allow live streaming
</ng-container>
973 <ng-container ngProjectAs=
"description">
974 <div i18n
>⚠️ Enabling live streaming requires trust in your users and extra moderation work
</div>
975 <div i18n
>If enabled, your server needs to accept incoming TCP traffic on port {{ liveRTMPPort }}
</div>
978 <ng-container ngProjectAs=
"extra">
980 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() }">
981 <my-peertube-checkbox
982 inputName=
"liveAllowReplay" formControlName=
"allowReplay"
983 i18n-labelText
labelText=
"Allow your users to automatically publish a replay of their live"
985 <ng-container ngProjectAs=
"description" i18n
>
986 If the user quota is reached, PeerTube will automatically terminate the live streaming
988 </my-peertube-checkbox>
991 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() }">
992 <label i18n
for=
"liveMaxInstanceLives">Max simultaneous lives created on your instance
<span class=
"text-muted">(-
1 for "unlimited")
</span></label>
993 <div class=
"number-with-unit">
994 <input type=
"number" name=
"liveMaxInstanceLives" formControlName=
"maxInstanceLives" />
995 <span i18n
>{form.value['live']['maxInstanceLives'], plural, =
1 {live} other {lives}}
</span>
999 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() }">
1000 <label i18n
for=
"liveMaxUserLives">Max simultaneous lives created per user
<span class=
"text-muted">(-
1 for "unlimited")
</span></label>
1001 <div class=
"number-with-unit">
1002 <input type=
"number" name=
"liveMaxUserLives" formControlName=
"maxUserLives" />
1003 <span i18n
>{form.value['live']['maxUserLives'], plural, =
1 {live} other {lives}}
</span>
1007 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() }">
1008 <label i18n
for=
"liveMaxDuration">Max live duration
</label>
1011 labelForId=
"liveMaxDuration" [items]=
"liveMaxDurationOptions" formControlName=
"maxDuration"
1012 bindLabel=
"label" bindValue=
"value" [clearable]=
"false" [searchable]=
"true"
1013 ></my-select-options>
1017 </my-peertube-checkbox>
1023 <div class=
"form-row"> <!-- transcoding live streams grid -->
1024 <div class=
"form-group col-12 col-lg-4 col-xl-3">
1025 <div i18n
class=
"inner-form-title">TRANSCODING
</div>
1026 <div i18n
class=
"inner-form-description">
1027 Same as VOD transcoding, transcoding live streams so that they are in a streamable form that any device can play. Requires a beefy CPU, and then some.
1031 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
1033 <ng-container formGroupName=
"live">
1034 <ng-container formGroupName=
"transcoding">
1036 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() }">
1037 <my-peertube-checkbox
1038 inputName=
"liveTranscodingEnabled" formControlName=
"enabled"
1040 <ng-template ptTemplate=
"label">
1041 <ng-container i18n
>Transcoding enabled for live streams
</ng-container>
1043 </my-peertube-checkbox>
1046 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }">
1047 <label i18n
for=
"liveTranscodingThreads">Live resolutions to generate
</label>
1049 <div class=
"ml-2 mt-2 d-flex flex-column">
1050 <ng-container formGroupName=
"resolutions">
1051 <div class=
"form-group" *
ngFor=
"let resolution of liveResolutions">
1052 <my-peertube-checkbox
1053 [inputName]=
"getResolutionKey(resolution.id)" [formControlName]=
"resolution.id"
1054 labelText=
"{{resolution.label}}"
1056 <ng-template *
ngIf=
"resolution.description" ptTemplate=
"help">
1057 <div [innerHTML]=
"resolution.description"></div>
1059 </my-peertube-checkbox>
1065 <div class=
"form-group" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }">
1066 <label i18n
for=
"liveTranscodingThreads">Live transcoding threads
</label>
1067 <span class=
"text-muted ml-1">
1068 <ng-container *
ngIf=
"getTotalTranscodingThreads().atMost" i18n
>will claim at most {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with VOD transcoding
</ng-container>
1069 <ng-container *
ngIf=
"!getTotalTranscodingThreads().atMost" i18n
>will claim at least {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with VOD transcoding
</ng-container>
1072 <my-select-custom-value
1073 id=
"liveTranscodingThreads"
1074 [items]=
"transcodingThreadOptions"
1075 formControlName=
"threads"
1077 ></my-select-custom-value>
1078 <div *
ngIf=
"formErrors.live.transcoding.threads" class=
"form-error">{{ formErrors.live.transcoding.threads }}
</div>
1081 <div class=
"form-group mt-4" [ngClass]=
"{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }">
1082 <label i18n
for=
"liveTranscodingProfile">Live transcoding profile
</label>
1083 <span class=
"text-muted ml-1" i18n
>new live transcoding profiles can be added by PeerTube plugins
</span>
1086 id=
"liveTranscodingProfile"
1087 formControlName=
"profile"
1088 [items]=
"getAvailableTranscodingProfile('live')"
1091 <ng-template ng-option-tmp
let-item=
"item" let-index=
"index">
1093 <ng-container *
ngIf=
"item === 'default'">
1095 <span class=
"text-muted" i18n
>x264, targeting maximum device compatibility
</span>
1098 </my-select-options>
1099 <div *
ngIf=
"formErrors.live.transcoding.profile" class=
"form-error">{{ formErrors.live.transcoding.profile }}
</div>
1111 <ng-container ngbNavItem=
"advanced-configuration">
1112 <a ngbNavLink i18n
>Advanced configuration
</a>
1114 <ng-template ngbNavContent
>
1116 <div class=
"form-row mt-5"> <!-- cache grid -->
1117 <div class=
"form-group col-12 col-lg-4 col-xl-3">
1118 <div i18n
class=
"inner-form-title">CACHE
</div>
1119 <div i18n
class=
"inner-form-description">
1120 Some files are not federated, and fetched when necessary. Define their caching policies.
1124 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
1126 <ng-container formGroupName=
"cache">
1127 <div class=
"form-group" formGroupName=
"previews">
1128 <label i18n
for=
"cachePreviewsSize">Number of previews to keep in cache
</label>
1129 <div class=
"number-with-unit">
1131 type=
"number" min=
"0" id=
"cachePreviewsSize" class=
"form-control"
1132 formControlName=
"size" [ngClass]=
"{ 'input-error': formErrors['cache.previews.size'] }"
1134 <span i18n
>{form.value['cache']['previews']['size'], plural, =
1 {cached image} other {cached images}}
</span>
1136 <div *
ngIf=
"formErrors.cache.previews.size" class=
"form-error">{{ formErrors.cache.previews.size }}
</div>
1139 <div class=
"form-group" formGroupName=
"captions">
1140 <label i18n
for=
"cacheCaptionsSize">Number of video captions to keep in cache
</label>
1141 <div class=
"number-with-unit">
1143 type=
"number" min=
"0" id=
"cacheCaptionsSize" class=
"form-control"
1144 formControlName=
"size" [ngClass]=
"{ 'input-error': formErrors['cache.captions.size'] }"
1146 <span i18n
>{form.value['cache']['captions']['size'], plural, =
1 {cached image} other {cached images}}
</span>
1148 <div *
ngIf=
"formErrors.cache.captions.size" class=
"form-error">{{ formErrors.cache.captions.size }}
</div>
1155 <div class=
"form-row mt-4"> <!-- cache grid -->
1156 <div class=
"form-group col-12 col-lg-4 col-xl-3">
1157 <div class=
"anchor" id=
"customizations"></div> <!-- customizations anchor -->
1158 <div i18n
class=
"inner-form-title">CUSTOMIZATIONS
</div>
1159 <div i18n
class=
"inner-form-description">
1160 Slight modifications to your PeerTube instance for when creating a plugin or theme is overkill.
1164 <div class=
"form-group form-group-right col-12 col-lg-8 col-xl-9">
1166 <ng-container formGroupName=
"instance">
1167 <ng-container formGroupName=
"customizations">
1168 <div class=
"form-group">
1169 <label i18n
for=
"customizationJavascript">JavaScript
</label>
1171 <ng-template ptTemplate=
"customHtml">
1173 Write JavaScript code directly.
<br />Example:
<pre>console.log('my instance is amazing');
</pre>
1179 id=
"customizationJavascript" formControlName=
"javascript" class=
"form-control"
1180 [ngClass]=
"{ 'input-error': formErrors['instance.customizations.javascript'] }"
1183 <div *
ngIf=
"formErrors.instance.customizations.javascript" class=
"form-error">{{ formErrors.instance.customizations.javascript }}
</div>
1186 <div class=
"form-group">
1187 <label for=
"customizationCSS">CSS
</label>
1190 <ng-template ptTemplate=
"customHtml">
1192 Write CSS code directly. Example:
<br /><br />
1194 #custom-css {{ '{' }}
1198 Prepend with
<em>#custom-css
</em> to override styles. Example:
<br /><br />
1200 #custom-css .logged-in-email {{ '{' }}
1209 id=
"customizationCSS" formControlName=
"css" class=
"form-control"
1210 [ngClass]=
"{ 'input-error': formErrors['instance.customizations.css'] }"
1212 <div *
ngIf=
"formErrors.instance.customizations.css" class=
"form-error">{{ formErrors.instance.customizations.css }}
</div>
1224 <div [ngbNavOutlet]=
"nav"></div>
1226 <div class=
"form-row mt-4"> <!-- submit placement block -->
1227 <div class=
"col-md-7 col-xl-5"></div>
1228 <div class=
"col-md-5 col-xl-5">
1229 <span class=
"form-error submit-error" i18n *
ngIf=
"!form.valid">
1230 It seems like the configuration is invalid. Please search for potential errors in the different tabs.
1233 <span class=
"form-error submit-error" i18n *
ngIf=
"!hasLiveAllowReplayConsistentOptions()">
1234 You cannot allow live replay if you don't enable transcoding.
1237 <input (click)=
"formValidated()" type=
"submit" i18n-value
value=
"Update configuration" [disabled]=
"!form.valid || !hasConsistentOptions()">