mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 06:31:55 +00:00 
			
		
		
		
	Fix HLS manifest fetching the entire video on LBRY.
This commit is contained in:
		@@ -280,7 +280,10 @@ export default {
 | 
			
		||||
                }
 | 
			
		||||
                const contentType = await fetch(uri, {
 | 
			
		||||
                    method: "HEAD",
 | 
			
		||||
                }).then(response => response.headers.get("Content-Type"));
 | 
			
		||||
                }).then(response => {
 | 
			
		||||
                    response.headers.get("Content-Type");
 | 
			
		||||
                    uri = response.url;
 | 
			
		||||
                });
 | 
			
		||||
                mime = contentType;
 | 
			
		||||
            } else if (this.video.hls) {
 | 
			
		||||
                uri = this.video.hls;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user