Add another check for live content

This commit is contained in:
Preston 2020-09-26 19:26:48 -04:00
parent 49e44c3b71
commit 307c00745b
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ export default Vue.extend({
})
this.videoLikeCount = result.videoDetails.likes
this.videoDislikeCount = result.videoDetails.dislikes
this.isLive = result.player_response.videoDetails.isLiveContent
this.isLive = result.player_response.videoDetails.isLiveContent || result.player_response.videoDetails.isLive
this.isUpcoming = result.player_response.videoDetails.isUpcoming ? result.player_response.videoDetails.isUpcoming : false
if (!this.isLive && !this.isUpcoming) {