import { Component, EventEmitter, Input, Output } from '@angular/core'
import { ScreenService } from '@app/core'
+import { VideoState } from '@shared/models'
import { Video } from '../shared-main'
@Component({
this.addedToWatchLaterText = $localize`Remove from watch later`
}
+ isLiveEnded () {
+ if (!this.video.state) return
+
+ return this.video.state.id === VideoState.LIVE_ENDED
+ }
+
getImageUrl () {
if (!this.video) return ''