mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-27 19:20:39 -06:00
Fix live ending banner
This commit is contained in:
parent
d11eae7edc
commit
ceb8f32211
@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user