videoPrivacies: VideoConstant<VideoPrivacy>[] = []
videoCaptions: VideoCaptionEdit[] = []
- firstStepPrivacyId = 0
- firstStepChannelId = 0
+ firstStepPrivacyId: VideoPrivacy
+ firstStepChannelId: number
abstract firstStepDone: EventEmitter<string>
abstract firstStepError: EventEmitter<void>
protected loadingBar: LoadingBarService
protected notifier: Notifier
protected authService: AuthService
+
protected serverService: ServerService
protected videoService: VideoService
protected videoCaptionService: VideoCaptionService
+
protected serverConfig: HTMLServerConfig
+ protected highestPrivacy: VideoPrivacy
+
abstract canDeactivate (): CanComponentDeactivateResult
ngOnInit () {
this.videoPrivacies = videoPrivacies
this.firstStepPrivacyId = defaultPrivacyId
+
+ this.highestPrivacy = this.videoService.getHighestAvailablePrivacy(privacies)
})
}