Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix show more description button on video change

Chocobozzzc448d41242c5
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 ed7892a015..b595ddcb79 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 {
otherVideosDisplayed: Video[] = []
- error = false
player: videojs.Player
playerElement: HTMLVideoElement
userRating: UserVideoRateType = null
@@ -319,6 +318,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
private async onVideoFetched (video: VideoDetails) {
this.video = video
+ // Re init attributes
+ this.descriptionLoading = false
+ this.completeDescriptionShown = false
+
this.updateOtherVideosDisplayed()
if (this.video.isVideoNSFWForUser(this.user)) {