mirror of https://github.com/Chocobozzz/PeerTube
Fix live ending banner
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