Fix issue with recently live videos not playing.

This commit is contained in:
Preston 2020-08-07 16:06:48 -04:00
parent f2d1f5afb9
commit 981341080e
1 changed files with 5 additions and 1 deletions

View File

@ -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