aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html23
1 files changed, 15 insertions, 8 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
index 7ecfb7702..5f02d00e8 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
+++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html
@@ -885,15 +885,22 @@
885 885
886 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isTranscodingEnabled() }"> 886 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isTranscodingEnabled() }">
887 <label i18n for="transcodingProfile">Transcoding profile</label> 887 <label i18n for="transcodingProfile">Transcoding profile</label>
888 <span class="text-muted ml-1" i18n>New transcoding profiles can be added by PeerTube plugins</span> 888 <span class="text-muted ml-1" i18n>new transcoding profiles can be added by PeerTube plugins</span>
889 889
890 <div class="peertube-select-container"> 890 <ng-select
891 <select id="transcodingProfile" formControlName="profile" class="form-control"> 891 id="transcodingProfile"
892 <option *ngFor="let vodTranscodingProfileOption of getAvailableTranscodingProfile('vod')" [value]="vodTranscodingProfileOption"> 892 formControlName="profile"
893 {{ vodTranscodingProfileOption }} 893 [items]="getAvailableTranscodingProfile('vod')"
894 </option> 894 [clearable]="false"
895 </select> 895 >
896 </div> 896 <ng-template ng-option-tmp let-item="item" let-index="index">
897 {{ item }}
898 <ng-container *ngIf="item === 'default'">
899 <br>
900 <span class="text-muted">x264, targeting maximum device compatibility</span>
901 </ng-container>
902 </ng-template>
903 </ng-select>
897 <div *ngIf="formErrors.transcoding.profile" class="form-error">{{ formErrors.transcoding.profile }}</div> 904 <div *ngIf="formErrors.transcoding.profile" class="form-error">{{ formErrors.transcoding.profile }}</div>
898 </div> 905 </div>
899 906