OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.
TypeScript
import { test } from "@playwright/test";
import { registerVrVideoTests } from "./vr-video-lib";
// fallback-nowebgpu and fallback-software projects: the VR video flow must run through
// the Canvas2D fallback renderer path too (same VideoEffectsEngine canvas passes, no WebGPU involved).
test.beforeEach(async ({ page }, testInfo) => {
if (testInfo.project.name !== "fallback-nowebgpu") return;
await page.addInitScript(() => {
try {
delete (Navigator.prototype as unknown as { gpu?: unknown }).gpu;
} catch {
/* non-configurable on this build; requestAdapter() is still null */
}
});
});
registerVrVideoTests();