mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Disable audio only mode in livestreams.
This commit is contained in:
		
							parent
							
								
									1460ea1688
								
							
						
					
					
						commit
						e243adb111
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -126,7 +126,10 @@ export default {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            this.player = player;
 | 
					            this.player = player;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            if ((localStorage && localStorage.getItem("audioOnly") === "true") || this.$route.query.listen === "1")
 | 
					            if (
 | 
				
			||||||
 | 
					                ((localStorage && localStorage.getItem("audioOnly") === "true") || this.$route.query.listen === "1") &&
 | 
				
			||||||
 | 
					                !this.video.livestream
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
                this.player.configure("manifest.disableVideo", true);
 | 
					                this.player.configure("manifest.disableVideo", true);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            player.load(uri).then(() => {
 | 
					            player.load(uri).then(() => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue