1 <form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
2 <div class="form-group">
3 <label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label>
5 <ng-template ptTemplate="customHtml">
7 With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video.
12 <div class="peertube-select-container">
13 <select id="nsfwPolicy" formControlName="nsfwPolicy">
14 <option i18n value="do_not_list">Do not list</option>
15 <option i18n value="blur">Blur thumbnails</option>
16 <option i18n value="display">Display</option>
21 <div class="form-group">
22 <label i18n for="videoLanguages">Only display videos in the following languages/subtitles</label>
24 <ng-template ptTemplate="customHtml">
25 <ng-container i18n>In Recently added, Trending, Local, Most liked and Search pages</ng-container>
31 inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" showToggleAll="true"
32 [defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()"
33 emptyFilterMessage="No results found" i18n-emptyFilterMessage
38 <div class="form-group">
40 inputName="webTorrentEnabled" formControlName="webTorrentEnabled"
41 i18n-labelText labelText="Use P2P to exchange parts of the video with others"
42 ></my-peertube-checkbox>
45 <div class="form-group">
47 inputName="autoPlayVideo" formControlName="autoPlayVideo"
48 i18n-labelText labelText="Automatically plays video"
49 ></my-peertube-checkbox>
52 <div class="form-group">
54 inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo"
55 i18n-labelText labelText="Automatically starts playing next video"
56 ></my-peertube-checkbox>
59 <input type="submit" i18n-value value="Save" [disabled]="!form.valid">