From 981341080ed1098f43117c61add29b161e528960 Mon Sep 17 00:00:00 2001 From: Preston Date: Fri, 7 Aug 2020 16:06:48 -0400 Subject: [PATCH] Fix issue with recently live videos not playing. --- src/renderer/views/Watch/Watch.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index 2f372cf0..8f66d9a5 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -263,7 +263,11 @@ export default Vue.extend({ 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 { this.videoSourceList = result.player_response.streamingData.formats