<div class="margin-content">
<div class="title-page title-page-single">
- Upload your video
+ <ng-template [ngIf]="!videoFileName">Upload your video</ng-template>
+ <ng-template [ngIf]="videoFileName">Upload {{ videoFileName }}</ng-template>
</div>
<div *ngIf="!isUploadingVideo" class="upload-video-container">
id: 0,
uuid: ''
}
+ videoFileName: string
form: FormGroup
formErrors: { [ id: string ]: string } = {}
return
}
+ this.videoFileName = videofile.name
+
const name = videofile.name.replace(/\.[^/.]+$/, '')
const privacy = this.firstStepPrivacyId.toString()
const nsfw = false