Fix generating Dash file from Invidious

This commit is contained in:
Preston 2020-08-30 10:21:01 -04:00
parent 024e1fe2eb
commit 6d50806303
2 changed files with 4 additions and 3 deletions

View File

@ -11,7 +11,7 @@
.promptCard { .promptCard {
width: 95%; width: 95%;
margin-top: 40%; margin-top: 40vh;
} }
.center { .center {

View File

@ -252,8 +252,7 @@ export default Vue.extend({
} }
if (this.isLive) { if (this.isLive) {
this.showLegacyPlayer = true this.enableLegacyFormat()
this.showDashPlayer = false
this.videoSourceList = result.formats.filter((format) => { this.videoSourceList = result.formats.filter((format) => {
if (typeof (format.mimeType) !== 'undefined') { if (typeof (format.mimeType) !== 'undefined') {
@ -344,6 +343,8 @@ export default Vue.extend({
this.isLoading = true this.isLoading = true
} }
this.dashSrc = this.createInvidiousDashManifest()
this.$store this.$store
.dispatch('invidiousGetVideoInformation', this.videoId) .dispatch('invidiousGetVideoInformation', this.videoId)
.then(result => { .then(result => {