forkJoin([
videoAndLiveObs,
this.videoCaptionService.listCaptions(videoId, videoPassword),
- this.videoService.getStoryboards(videoId),
+ this.videoService.getStoryboards(videoId, videoPassword),
this.userService.getAnonymousOrLoggedUser()
]).subscribe({
next: ([ { video, live, videoFileToken }, captionsResult, storyboards, loggedInOrAnonymousUser ]) => {
// ---------------------------------------------------------------------------
- getStoryboards (videoId: string | number) {
+ getStoryboards (videoId: string | number, videoPassword: string) {
+ const headers = VideoPasswordService.buildVideoPasswordHeader(videoPassword)
+
return this.authHttp
- .get<{ storyboards: Storyboard[] }>(VideoService.BASE_VIDEO_URL + '/' + videoId + '/storyboards')
+ .get<{ storyboards: Storyboard[] }>(VideoService.BASE_VIDEO_URL + '/' + videoId + '/storyboards', { headers })
.pipe(
map(({ storyboards }) => storyboards),
catchError(err => {