Fix issue with recently live videos not playing.
This commit is contained in:
parent
f2d1f5afb9
commit
981341080e
|
@ -263,7 +263,11 @@ export default Vue.extend({
|
||||||
return qualityA - qualityB
|
return qualityA - qualityB
|
||||||
})
|
})
|
||||||
|
|
||||||
this.activeSourceList = this.videoSourceList
|
if (this.videoSourceList.length === 0) {
|
||||||
|
this.activeSourceList = result.player_response.streamingData.formats
|
||||||
|
} else {
|
||||||
|
this.activeSourceList = this.videoSourceList
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.videoSourceList = result.player_response.streamingData.formats
|
this.videoSourceList = result.player_response.streamingData.formats
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue