Fix live ending banner

This commit is contained in:
Chocobozzz 2021-05-25 15:27:43 +02:00
parent d11eae7edc
commit ceb8f32211
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 3 additions and 2 deletions

View File

@ -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)
}
})

View File

@ -3,7 +3,8 @@ import { PluginElementPlaceholder } from '@shared/models'
@Component({
selector: 'my-plugin-placeholder',
template: '<div [id]="getId()"></div>'
template: '<div [id]="getId()"></div>',
styles: [ 'div { height: 100%; }' ]
})
export class PluginPlaceholderComponent {