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 {
width: 95%;
margin-top: 40%;
margin-top: 40vh;
}
.center {

View File

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