Merge pull request #100 from PR0M3TH3AN/codex/fix-cors-error-for-live-video-checks

Handle opaque CDN probes via video fallback
This commit is contained in:
thePR0M3TH3AN authored and GitHub committed 2025-09-25 18:24:19 -04:00
commit 4d0731fe6e
1 file changed
+4
+4
View File
@@ -3476,6 +3476,10 @@ class bitvidApp {
}
if (response.type === "opaque") {
const fallback = await this.probeUrlWithVideoElement(trimmed);
if (fallback && fallback.outcome) {
return fallback;
}
return { outcome: "opaque" };
}