mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-12-23 22:13:36 +00:00
Fix HLS manifest fetching the entire video on LBRY.
This commit is contained in:
parent
0cea01d74e
commit
6893160cec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user