mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2024-08-14 23:57:27 +00:00 
			
		
		
		
	Add support for better qualities through the IOS HLS manifest. (#474)
This commit is contained in:
		
							parent
							
								
									610fe86c32
								
							
						
					
					
						commit
						881621d3a4
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -195,6 +195,9 @@ export default {
 | 
			
		|||
                    method: "HEAD",
 | 
			
		||||
                }).then(response => response.headers.get("Content-Type"));
 | 
			
		||||
                mime = contentType;
 | 
			
		||||
            } else if (this.video.hls) {
 | 
			
		||||
                uri = this.video.hls;
 | 
			
		||||
                mime = "application/x-mpegURL";
 | 
			
		||||
            } else {
 | 
			
		||||
                uri = this.video.videoStreams.filter(stream => stream.codec == null).slice(-1)[0].url;
 | 
			
		||||
                mime = "video/mp4";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue