]>
Commit | Line | Data |
---|---|---|
c30745f3 | 1 | <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form"> |
6a4c30de | 2 | <div class="form-group form-group-select"> |
4a53fc82 | 3 | <div class="anchor" id="video-sensitive-content-policy"></div> <!-- video-sensitive-content-policy anchor --> |
b1d40cff | 4 | <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label> |
421d935d C |
5 | <my-help> |
6 | <ng-template ptTemplate="customHtml"> | |
7 | <ng-container i18n> | |
2d6f28a2 | 8 | With <strong>Hide</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video. |
421d935d C |
9 | </ng-container> |
10 | </ng-template> | |
11 | </my-help> | |
0883b324 C |
12 | |
13 | <div class="peertube-select-container"> | |
a6d5ff76 | 14 | <select id="nsfwPolicy" formControlName="nsfwPolicy" class="form-control"> |
2bc9bd08 | 15 | <option i18n value="undefined" disabled>Policy for sensitive videos</option> |
2d6f28a2 | 16 | <option i18n value="do_not_list">Hide</option> |
b1d40cff C |
17 | <option i18n value="blur">Blur thumbnails</option> |
18 | <option i18n value="display">Display</option> | |
0883b324 C |
19 | </select> |
20 | </div> | |
a0d69908 C |
21 | </div> |
22 | ||
6a4c30de | 23 | <div class="form-group form-group-select"> |
4a53fc82 | 24 | <div class="anchor" id="video-languages-subtitles"></div> <!-- video-languages-subtitles anchor --> |
20f1ec8d | 25 | <label i18n for="videoLanguages">Only display videos in the following languages/subtitles</label> |
421d935d C |
26 | <my-help> |
27 | <ng-template ptTemplate="customHtml"> | |
20f1ec8d | 28 | <ng-container i18n>In Recently added, Trending, Local, Most liked and Search pages</ng-container> |
421d935d C |
29 | </ng-template> |
30 | </my-help> | |
3caf77d3 C |
31 | |
32 | <div> | |
52c4976f C |
33 | <my-select-checkbox |
34 | formControlName="videoLanguages" [availableItems]="languageItems" | |
35 | [selectableGroup]="true" [selectableGroupAsModel]="true" | |
857961f0 | 36 | i18n-placeholder placeholder="Add a new language" |
52c4976f C |
37 | > |
38 | </my-select-checkbox > | |
3caf77d3 C |
39 | </div> |
40 | </div> | |
41 | ||
d3217560 RK |
42 | <ng-content select="inner-title"></ng-content> |
43 | ||
361805c4 C |
44 | <div class="form-group"> |
45 | <my-peertube-checkbox | |
5411da31 RK |
46 | inputName="webTorrentEnabled" formControlName="webTorrentEnabled" [recommended]="true" |
47 | i18n-labelText labelText="Help share videos being played" | |
48 | > | |
49 | <ng-container ngProjectAs="description"> | |
50 | <span i18n>The <a routerLink="/about/peertube" fragment="privacy">sharing system</a> implies that some technical information about your system (such as a public IP address) can be sent to other peers, but greatly helps to reduce server load.</span> | |
51 | </ng-container> | |
52 | </my-peertube-checkbox> | |
361805c4 | 53 | </div> |
ed638e53 | 54 | |
361805c4 C |
55 | <div class="form-group"> |
56 | <my-peertube-checkbox | |
57 | inputName="autoPlayVideo" formControlName="autoPlayVideo" | |
5411da31 RK |
58 | i18n-labelText labelText="Automatically play videos" |
59 | > | |
60 | <ng-container ngProjectAs="description"> | |
61 | <span i18n>When on a video page, directly start playing the video.</span> | |
62 | </ng-container> | |
63 | </my-peertube-checkbox> | |
85c1df6a | 64 | </div> |
6aa54148 | 65 | |
85c1df6a | 66 | <div class="form-group"> |
6aa54148 L |
67 | <my-peertube-checkbox |
68 | inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo" | |
5411da31 RK |
69 | i18n-labelText labelText="Automatically start playing the next video" |
70 | > | |
71 | <ng-container ngProjectAs="description"> | |
72 | <span i18n>When a video ends, follow up with the next suggested video.</span> | |
73 | </ng-container> | |
74 | </my-peertube-checkbox> | |
361805c4 | 75 | </div> |
c30745f3 | 76 | |
d3217560 | 77 | <input *ngIf="!reactiveUpdate" type="submit" i18n-value value="Save" [disabled]="!form.valid"> |
c30745f3 | 78 | </form> |