channelId: this.firstStepChannelId
}
+ this.loadingBar.start()
+
this.videoImportService.importVideo(this.targetUrl, videoUpdate).subscribe(
res => {
+ this.loadingBar.complete()
this.firstStepDone.emit(res.video.name)
this.isImportingVideo = false
this.hasImportedVideo = true
},
err => {
+ this.loadingBar.complete()
this.isImportingVideo = false
this.notificationsService.error(this.i18n('Error'), err.message)
}