From ceb8f322118b24508abc6dd0bc6813a43610eff3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 25 May 2021 15:27:43 +0200 Subject: Fix live ending banner --- client/src/app/+videos/+video-watch/video-watch.component.ts | 2 +- .../src/app/shared/shared-main/plugins/plugin-placeholder.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'client') 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 1c510d6b0..116139d47 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -674,7 +674,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { this.player.one('ended', () => { if (this.video.isLive) { - this.video.state.id = VideoState.LIVE_ENDED + this.zone.run(() => this.video.state.id = VideoState.LIVE_ENDED) } }) diff --git a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts index 93ba9fb9b..4d5381e8d 100644 --- a/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts +++ b/client/src/app/shared/shared-main/plugins/plugin-placeholder.component.ts @@ -3,7 +3,8 @@ import { PluginElementPlaceholder } from '@shared/models' @Component({ selector: 'my-plugin-placeholder', - template: '
' + template: '
', + styles: [ 'div { height: 100%; }' ] }) export class PluginPlaceholderComponent { -- cgit v1.2.3