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