mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-03-12 22:06:03 +00:00
Handle opaque URL probes via video fallback
This commit is contained in:
@@ -3476,6 +3476,10 @@ class bitvidApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (response.type === "opaque") {
|
if (response.type === "opaque") {
|
||||||
|
const fallback = await this.probeUrlWithVideoElement(trimmed);
|
||||||
|
if (fallback && fallback.outcome) {
|
||||||
|
return fallback;
|
||||||
|
}
|
||||||
return { outcome: "opaque" };
|
return { outcome: "opaque" };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user