ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix video not found in watch component
Chocobozzzf1013131ceee
diff --git a/client/src/app/videos/+video-watch/video-watch.component.ts b/client/src/app/videos/+video-watch/video-watch.component.tsindex 8b5abc3f37..f45ffd82f3 100644--- a/client/src/app/videos/+video-watch/video-watch.component.ts+++ b/client/src/app/videos/+video-watch/video-watch.component.ts@@ -37,6 +37,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy {userRating: UserVideoRateType = nullvideo: Video = nullvideoPlayerLoaded = false+ videoNotFound = falseprivate paramsSub: Subscription@@ -58,7 +59,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {this.videoService.getVideo(uuid).subscribe(video => this.onVideoFetched(video),- error => console.error(error)+ error => {+ this.videoNotFound = true+ console.error(error)+ })})}