- <input
- type="checkbox" id="autoPlayVideo"
- formControlName="autoPlayVideo"
- >
- <label for="autoPlayVideo"></label>
- <label for="autoPlayVideo">Automatically plays video</label>
+ <label i18n for="videoLanguages">Only display videos in the following languages</label>
+ <my-help i18n-customHtml
+ customHtml="In Recently added, Trending, Local and Search pages"
+ ></my-help>
+
+ <div>
+ <p-multiSelect
+ inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" showToggleAll="true"
+ [defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()"
+ emptyFilterMessage="No results found" i18n-emptyFilterMessage
+ ></p-multiSelect>
+ </div>
+ </div>
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="webTorrentEnabled" formControlName="webTorrentEnabled"
+ i18n-labelText labelText="Use WebTorrent to exchange parts of the video with others"
+ ></my-peertube-checkbox>
+ </div>
+
+ <div class="form-group">
+ <my-peertube-checkbox
+ inputName="autoPlayVideo" formControlName="autoPlayVideo"
+ i18n-labelText labelText="Automatically plays video"
+ ></my-peertube-checkbox>