diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.ts index d0151ceb1..09ee96bdc 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -114,7 +114,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
114 | ) | 114 | ) |
115 | .pipe( | 115 | .pipe( |
116 | // If 401, the video is private or blacklisted so redirect to 404 | 116 | // If 401, the video is private or blacklisted so redirect to 404 |
117 | catchError(err => this.restExtractor.redirectTo404IfNotFound(err, [ 400, 401, 404 ])) | 117 | catchError(err => this.restExtractor.redirectTo404IfNotFound(err, [ 400, 401, 403, 404 ])) |
118 | ) | 118 | ) |
119 | .subscribe(([ video, captionsResult ]) => { | 119 | .subscribe(([ video, captionsResult ]) => { |
120 | const startTime = this.route.snapshot.queryParams.start | 120 | const startTime = this.route.snapshot.queryParams.start |