blob: adbb97f009c9bf5e0e8cfa289004d6fdd5cda903 (
plain) (
blame)
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
|
<form role="form" (ngSubmit)="updateDetails()" [formGroup]="form">
<div class="form-group">
<label i18n for="nsfwPolicy">Default policy on videos containing sensitive content</label>
<my-help
helpType="custom" i18n-customHtml
customHtml="With <strong>Do not list</strong> or <strong>Blur thumbnails</strong>, a confirmation will be requested to watch the video."
></my-help>
<div class="peertube-select-container">
<select id="nsfwPolicy" formControlName="nsfwPolicy">
<option i18n value="do_not_list">Do not list</option>
<option i18n value="blur">Blur thumbnails</option>
<option i18n value="display">Display</option>
</select>
</div>
</div>
<div class="form-group">
<label i18n for="webTorrentPolicy">Policy regarding P2P technologies</label>
<div class="peertube-select-container">
<select id="webTorrentPolicy" formControlName="webTorrentPolicy">
<option i18n value="enable">Enable WebTorrent</option>
<option i18n value="disable">Disable WebTorrent globally</option>
<option i18n value="disable_on_mobile" disabled>Disable WebTorrent on mobile devices (not yet available)</option>
</select>
</div>
</div>
<my-peertube-checkbox
inputName="autoPlayVideo" formControlName="autoPlayVideo"
i18n-labelText labelText="Automatically plays video"
></my-peertube-checkbox>
<input type="submit" i18n-value value="Save" [disabled]="!form.valid">
</form>
|