From 6d50806303e0a19a3abbad65f401f02512f756ac Mon Sep 17 00:00:00 2001 From: Preston Date: Sun, 30 Aug 2020 10:21:01 -0400 Subject: [PATCH] Fix generating Dash file from Invidious --- src/renderer/components/ft-prompt/ft-prompt.css | 2 +- src/renderer/views/Watch/Watch.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/renderer/components/ft-prompt/ft-prompt.css b/src/renderer/components/ft-prompt/ft-prompt.css index 2cf0eeee5..cb3b2cf12 100644 --- a/src/renderer/components/ft-prompt/ft-prompt.css +++ b/src/renderer/components/ft-prompt/ft-prompt.css @@ -11,7 +11,7 @@ .promptCard { width: 95%; - margin-top: 40%; + margin-top: 40vh; } .center { diff --git a/src/renderer/views/Watch/Watch.js b/src/renderer/views/Watch/Watch.js index d0d3f4359..c52862f56 100644 --- a/src/renderer/views/Watch/Watch.js +++ b/src/renderer/views/Watch/Watch.js @@ -252,8 +252,7 @@ export default Vue.extend({ } if (this.isLive) { - this.showLegacyPlayer = true - this.showDashPlayer = false + this.enableLegacyFormat() this.videoSourceList = result.formats.filter((format) => { if (typeof (format.mimeType) !== 'undefined') { @@ -344,6 +343,8 @@ export default Vue.extend({ this.isLoading = true } + this.dashSrc = this.createInvidiousDashManifest() + this.$store .dispatch('invidiousGetVideoInformation', this.videoId) .then(result => {