1 <div *
ngIf=
"!isInUpdateForm" class=
"upload-video-container">
2 <div class=
"first-step-block">
3 <my-global-icon class=
"upload-icon" iconName=
"upload" aria-hidden=
"true"></my-global-icon>
5 <div class=
"form-group">
6 <label i18n
for=
"first-step-channel">Channel
</label>
8 labelForId=
"first-step-channel" [items]=
"userVideoChannels" [(ngModel)]=
"firstStepChannelId"
12 <div class=
"form-group">
13 <label i18n
for=
"first-step-privacy">Privacy
</label>
15 labelForId=
"first-step-privacy" [items]=
"videoPrivacies" [(ngModel)]=
"firstStepPrivacyId"
20 type=
"button" i18n-value
value=
"Go Live" (click)=
"goLive()"
25 <div *
ngIf=
"error" class=
"alert alert-danger">
26 <div i18n
>Sorry, but something went wrong
</div>
30 <!-- Hidden because we want to load the component -->
31 <form [hidden]=
"!isInUpdateForm" novalidate [formGroup]=
"form">
33 [form]=
"form" [formErrors]=
"formErrors" [videoCaptions]=
"videoCaptions" [schedulePublicationPossible]=
"false"
34 [validationMessages]=
"validationMessages" [userVideoChannels]=
"userVideoChannels" [videoLive]=
"videoLive"
38 <div class=
"submit-container">
39 <div class=
"submit-button"
40 (click)=
"updateSecondStep()"
41 [ngClass]=
"{ disabled: !form.valid }"
43 <my-global-icon iconName=
"circle-tick" aria-hidden=
"true"></my-global-icon>
44 <input type=
"button" i18n-value
value=
"Update" />