mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Fix HLS manifest fetching the entire video on LBRY.
This commit is contained in:
parent
0cea01d74e
commit
6893160cec
1 changed files with 4 additions and 1 deletions
|
@ -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 a new issue