From 4a7591e1a8ec5ffdff85580c6be4b18d8b85b4d4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jun 2018 15:35:18 +0200 Subject: Remove video not found --- client/src/app/videos/+video-watch/video-watch.component.html | 4 +--- client/src/app/videos/+video-watch/video-watch.component.ts | 6 ------ 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'client/src/app/videos') diff --git a/client/src/app/videos/+video-watch/video-watch.component.html b/client/src/app/videos/+video-watch/video-watch.component.html index d80b633df..4c650b121 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.html +++ b/client/src/app/videos/+video-watch/video-watch.component.html @@ -1,10 +1,8 @@
-
+
-
Video not found :'(
-
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 4a67d456e..7ba8d1fa4 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts @@ -46,7 +46,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { playerElement: HTMLVideoElement userRating: UserVideoRateType = null video: VideoDetails = null - videoNotFound = false descriptionLoading = false completeDescriptionShown = false @@ -119,11 +118,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { const startTime = this.route.snapshot.queryParams.start this.onVideoFetched(video, startTime) .catch(err => this.handleError(err)) - }, - - error => { - this.videoNotFound = true - console.error(error) } ) }) -- cgit v1.2.3