mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +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, {
|
const contentType = await fetch(uri, {
|
||||||
method: "HEAD",
|
method: "HEAD",
|
||||||
}).then(response => response.headers.get("Content-Type"));
|
}).then(response => {
|
||||||
|
response.headers.get("Content-Type");
|
||||||
|
uri = response.url;
|
||||||
|
});
|
||||||
mime = contentType;
|
mime = contentType;
|
||||||
} else if (this.video.hls) {
|
} else if (this.video.hls) {
|
||||||
uri = this.video.hls;
|
uri = this.video.hls;
|
||||||
|
Loading…
Reference in New Issue
Block a user