Skip to content

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

Fix live miniatures

Chocobozzz91f884d13970
diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts
index 67a9b0028e..bdede17a3d 100644
--- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts
+++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.ts
@@ -31,6 +31,8 @@ export class VideoThumbnailComponent {
}
isLiveEnded () {
+ if (!this.video.state) return
+
return this.video.state.id === VideoState.LIVE_ENDED
}