mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-26 23:47:25 +00:00
Fix for LBRY without hls.
This commit is contained in:
parent
4d32912ade
commit
4dda06402d
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user