Fix for LBRY without hls.

This commit is contained in:
Kavin 2022-05-05 19:02:25 +01:00
parent 4d32912ade
commit 4dda06402d
No known key found for this signature in database
GPG Key ID: 49451E4482CC5BCD

View File

@ -281,8 +281,8 @@ export default {
const contentType = await fetch(uri, { const contentType = await fetch(uri, {
method: "HEAD", method: "HEAD",
}).then(response => { }).then(response => {
response.headers.get("Content-Type");
uri = response.url; uri = response.url;
return response.headers.get("Content-Type");
}); });
mime = contentType; mime = contentType;
} else if (this.video.hls) { } else if (this.video.hls) {