Fix generating Dash file from Invidious
This commit is contained in:
parent
024e1fe2eb
commit
6d50806303
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
.promptCard {
|
.promptCard {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
margin-top: 40%;
|
margin-top: 40vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.center {
|
.center {
|
||||||
|
|
|
@ -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 => {
|
||||||
|
|
Loading…
Reference in New Issue