channelId: this.firstStepChannelId
}
- this.loadingBar.start()
+ this.loadingBar.useRef().start()
this.videoImportService
.importVideoUrl(this.targetUrl, videoUpdate)
)
.subscribe(
({ video, videoCaptions }) => {
- this.loadingBar.complete()
+ this.loadingBar.useRef().complete()
this.firstStepDone.emit(video.name)
this.isImportingVideo = false
this.hasImportedVideo = true
},
err => {
- this.loadingBar.complete()
+ this.loadingBar.useRef().complete()
this.isImportingVideo = false
this.firstStepError.emit()
this.notifier.error(err.message)