aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/src/app/videos/+video-watch/video-watch.component.ts5
1 files changed, 4 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 ed7892a01..b595ddcb7 100644
--- a/client/src/app/videos/+video-watch/video-watch.component.ts
+++ b/client/src/app/videos/+video-watch/video-watch.component.ts
@@ -38,7 +38,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
38 38
39 otherVideosDisplayed: Video[] = [] 39 otherVideosDisplayed: Video[] = []
40 40
41 error = false
42 player: videojs.Player 41 player: videojs.Player
43 playerElement: HTMLVideoElement 42 playerElement: HTMLVideoElement
44 userRating: UserVideoRateType = null 43 userRating: UserVideoRateType = null
@@ -319,6 +318,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
319 private async onVideoFetched (video: VideoDetails) { 318 private async onVideoFetched (video: VideoDetails) {
320 this.video = video 319 this.video = video
321 320
321 // Re init attributes
322 this.descriptionLoading = false
323 this.completeDescriptionShown = false
324
322 this.updateOtherVideosDisplayed() 325 this.updateOtherVideosDisplayed()
323 326
324 if (this.video.isVideoNSFWForUser(this.user)) { 327 if (this.video.isVideoNSFWForUser(this.user)) {