aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2021-01-29 09:04:36 +0100
committerRigel Kent <sendmemail@rigelk.eu>2021-01-29 09:04:40 +0100
commit8a23909fe2381387841d5c355305d16460a27452 (patch)
tree051cd9b55d9881f4faa30a7b6f340bcab336afe8 /client/src/app
parentb3eafc5fc5ffbb12089845ffe5da0329adb70093 (diff)
downloadPeerTube-8a23909fe2381387841d5c355305d16460a27452.tar.gz
PeerTube-8a23909fe2381387841d5c355305d16460a27452.tar.zst
PeerTube-8a23909fe2381387841d5c355305d16460a27452.zip
add description to live transcoding profile selector
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html25
1 files changed, 16 insertions, 9 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 5f02d00e8..796aa12ed 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
@@ -897,7 +897,7 @@
897 {{ item }} 897 {{ item }}
898 <ng-container *ngIf="item === 'default'"> 898 <ng-container *ngIf="item === 'default'">
899 <br> 899 <br>
900 <span class="text-muted">x264, targeting maximum device compatibility</span> 900 <span class="text-muted" i18n>x264, targeting maximum device compatibility</span>
901 </ng-container> 901 </ng-container>
902 </ng-template> 902 </ng-template>
903 </ng-select> 903 </ng-select>
@@ -1046,15 +1046,22 @@
1046 1046
1047 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }"> 1047 <div class="form-group mt-4" [ngClass]="{ 'disabled-checkbox-extra': !isLiveEnabled() || !isLiveTranscodingEnabled() }">
1048 <label i18n for="liveTranscodingProfile">Live transcoding profile</label> 1048 <label i18n for="liveTranscodingProfile">Live transcoding profile</label>
1049 <span class="text-muted ml-1" i18n>New live transcoding profiles can be added by PeerTube plugins</span> 1049 <span class="text-muted ml-1" i18n>new live transcoding profiles can be added by PeerTube plugins</span>
1050 1050
1051 <div class="peertube-select-container"> 1051 <ng-select
1052 <select id="liveTranscodingProfile" formControlName="profile" class="form-control"> 1052 id="liveTranscodingProfile"
1053 <option *ngFor="let liveTranscodingProfileOption of getAvailableTranscodingProfile('live')" [value]="liveTranscodingProfileOption"> 1053 formControlName="profile"
1054 {{ liveTranscodingProfileOption }} 1054 [items]="getAvailableTranscodingProfile('live')"
1055 </option> 1055 [clearable]="false"
1056 </select> 1056 >
1057 </div> 1057 <ng-template ng-option-tmp let-item="item" let-index="index">
1058 {{ item }}
1059 <ng-container *ngIf="item === 'default'">
1060 <br>
1061 <span class="text-muted" i18n>x264, targeting maximum device compatibility</span>
1062 </ng-container>
1063 </ng-template>
1064 </ng-select>
1058 <div *ngIf="formErrors.live.transcoding.profile" class="form-error">{{ formErrors.live.transcoding.profile }}</div> 1065 <div *ngIf="formErrors.live.transcoding.profile" class="form-error">{{ formErrors.live.transcoding.profile }}</div>
1059 </div> 1066 </div>
1060 1067