]>
Commit | Line | Data |
---|---|---|
1 | <div class="margin-content"> | |
2 | <div class="title-page"> | |
3 | <span class="me-1" i18n>Update</span> | |
4 | <a [routerLink]="getVideoUrl()">{{ videoDetails?.name }}</a> | |
5 | </div> | |
6 | ||
7 | <form novalidate [formGroup]="form"> | |
8 | ||
9 | <my-video-edit | |
10 | [form]="form" [formErrors]="formErrors" [forbidScheduledPublication]="forbidScheduledPublication" | |
11 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" | |
12 | [videoCaptions]="videoCaptions" [hideWaitTranscoding]="isWaitTranscodingHidden()" | |
13 | type="update" (pluginFieldsAdded)="hydratePluginFieldsFromVideo()" | |
14 | [liveVideo]="liveVideo" [videoToUpdate]="videoDetails" | |
15 | [videoSource]="videoSource" | |
16 | ||
17 | (formBuilt)="onFormBuilt()" | |
18 | ></my-video-edit> | |
19 | ||
20 | <div class="submit-container"> | |
21 | <my-button className="orange-button" i18n-label label="Update" icon="circle-tick" | |
22 | (click)="update()" (keydown.enter)="update()" | |
23 | [disabled]="!form.valid || isUpdatingVideo === true" | |
24 | ></my-button> | |
25 | </div> | |
26 | </form> | |
27 | </div> |