2017-12-01 10:38:26 -06:00
< form role = "form" ( ngSubmit ) = " updateDetails ( ) " [ formGroup ] = " form " >
2020-04-03 05:30:52 -05:00
< div class = "form-group form-group-select" >
2018-06-04 09:21:17 -05:00
< label i18n for = "nsfwPolicy" > Default policy on videos containing sensitive content< / label >
2019-08-27 10:09:43 -05:00
< my-help >
< ng-template ptTemplate = "customHtml" >
< ng-container i18n >
With < strong > Do not list< / strong > or < strong > Blur thumbnails< / strong > , a confirmation will be requested to watch the video.
< / ng-container >
< / ng-template >
< / my-help >
2018-04-19 04:01:34 -05:00
< div class = "peertube-select-container" >
2020-04-02 04:39:14 -05:00
< select id = "nsfwPolicy" formControlName = "nsfwPolicy" class = "form-control" >
2020-04-13 10:03:01 -05:00
< option i18n value = "undefined" disabled > Policy for sensitive videos< / option >
2018-06-04 09:21:17 -05:00
< option i18n value = "do_not_list" > Do not list< / option >
< option i18n value = "blur" > Blur thumbnails< / option >
< option i18n value = "display" > Display< / option >
2018-04-19 04:01:34 -05:00
< / select >
< / div >
2017-12-20 08:25:44 -06:00
< / div >
2020-04-03 05:30:52 -05:00
< div class = "form-group form-group-select" >
2019-11-29 07:06:03 -06:00
< label i18n for = "videoLanguages" > Only display videos in the following languages/subtitles< / label >
2019-08-27 10:09:43 -05:00
< my-help >
< ng-template ptTemplate = "customHtml" >
2019-11-29 07:06:03 -06:00
< ng-container i18n > In Recently added, Trending, Local, Most liked and Search pages< / ng-container >
2019-08-27 10:09:43 -05:00
< / ng-template >
< / my-help >
2019-06-19 07:55:58 -05:00
< div >
< p-multiSelect
2020-02-10 07:25:38 -06:00
inputId="videoLanguages" [options]="languageItems" formControlName="videoLanguages" [showToggleAll]="true"
2019-06-19 07:55:58 -05:00
[defaultLabel]="getDefaultVideoLanguageLabel()" [selectedItemsLabel]="getSelectedVideoLanguageLabel()"
emptyFilterMessage="No results found" i18n-emptyFilterMessage
>< / p-multiSelect >
< / div >
< / div >
2020-02-28 06:52:21 -06:00
< ng-content select = "inner-title" > < / ng-content >
2018-11-19 07:34:01 -06:00
< div class = "form-group" >
< my-peertube-checkbox
2020-03-23 17:43:51 -05:00
inputName="webTorrentEnabled" formControlName="webTorrentEnabled" [recommended]="true"
i18n-labelText labelText="Help share videos being played"
>
< ng-container ngProjectAs = "description" >
< 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 >
< / ng-container >
< / my-peertube-checkbox >
2018-11-19 07:34:01 -06:00
< / div >
2018-10-12 11:12:39 -05:00
2018-11-19 07:34:01 -06:00
< div class = "form-group" >
< my-peertube-checkbox
inputName="autoPlayVideo" formControlName="autoPlayVideo"
2020-03-23 17:43:51 -05:00
i18n-labelText labelText="Automatically play videos"
>
< ng-container ngProjectAs = "description" >
< span i18n > When on a video page, directly start playing the video.< / span >
< / ng-container >
< / my-peertube-checkbox >
2019-09-24 03:35:36 -05:00
< / div >
2019-09-24 01:48:01 -05:00
2019-09-24 03:35:36 -05:00
< div class = "form-group" >
2019-09-24 01:48:01 -05:00
< my-peertube-checkbox
inputName="autoPlayNextVideo" formControlName="autoPlayNextVideo"
2020-03-23 17:43:51 -05:00
i18n-labelText labelText="Automatically start playing the next video"
>
< ng-container ngProjectAs = "description" >
< span i18n > When a video ends, follow up with the next suggested video.< / span >
< / ng-container >
< / my-peertube-checkbox >
2018-11-19 07:34:01 -06:00
< / div >
2017-12-01 10:38:26 -06:00
2020-02-28 06:52:21 -06:00
< input * ngIf = "!reactiveUpdate" type = "submit" i18n-value value = "Save" [ disabled ] = " ! form . valid " >
2017-12-01 10:38:26 -06:00
< / form >