Fix HLS manifest fetching the entire video on LBRY.

This commit is contained in:
Kavin 2022-05-04 10:19:13 +01:00
parent 0cea01d74e
commit 6893160cec
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -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;