Add another check for live content
This commit is contained in:
parent
49e44c3b71
commit
307c00745b
|
@ -214,7 +214,7 @@ export default Vue.extend({
|
||||||
})
|
})
|
||||||
this.videoLikeCount = result.videoDetails.likes
|
this.videoLikeCount = result.videoDetails.likes
|
||||||
this.videoDislikeCount = result.videoDetails.dislikes
|
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
|
this.isUpcoming = result.player_response.videoDetails.isUpcoming ? result.player_response.videoDetails.isUpcoming : false
|
||||||
|
|
||||||
if (!this.isLive && !this.isUpcoming) {
|
if (!this.isLive && !this.isUpcoming) {
|
||||||
|
|
Loading…
Reference in New Issue