diff options
Diffstat (limited to 'client/src/app')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 3 |
1 files changed, 0 insertions, 3 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 5fd095c36..1ee18f52f 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -688,9 +688,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
688 | private handleLiveStateChange (newState: VideoState) { | 688 | private handleLiveStateChange (newState: VideoState) { |
689 | if (newState !== VideoState.PUBLISHED) return | 689 | if (newState !== VideoState.PUBLISHED) return |
690 | 690 | ||
691 | const videoState = this.video.state.id | ||
692 | if (videoState !== VideoState.WAITING_FOR_LIVE && videoState !== VideoState.LIVE_ENDED) return | ||
693 | |||
694 | console.log('Loading video after live update.') | 691 | console.log('Loading video after live update.') |
695 | 692 | ||
696 | const videoUUID = this.video.uuid | 693 | const videoUUID = this.video.uuid |