27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<div class="margin-content">
|
|
<div class="title-page title-page-single">
|
|
<span class="mr-1" i18n>Update</span>
|
|
<a [routerLink]="getVideoUrl()">{{ video?.name }}</a>
|
|
</div>
|
|
|
|
<form novalidate [formGroup]="form">
|
|
|
|
<my-video-edit
|
|
[form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
|
|
[validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
|
|
[videoCaptions]="videoCaptions" [waitTranscodingEnabled]="isWaitTranscodingEnabled()"
|
|
type="update" (pluginFieldsAdded)="hydratePluginFieldsFromVideo()"
|
|
[liveVideo]="liveVideo" [videoToUpdate]="videoDetails"
|
|
|
|
(formBuilt)="onFormBuilt()"
|
|
></my-video-edit>
|
|
|
|
<div class="submit-container">
|
|
<my-button className="orange-button" i18n-label label="Update" icon="circle-tick"
|
|
(click)="update()" (keydown.enter)="update()"
|
|
[disabled]="!form.valid || isUpdatingVideo === true"
|
|
></my-button>
|
|
</div>
|
|
</form>
|
|
</div>
|