refactor: video player context

This commit is contained in:
2024-05-27 10:19:30 +01:00
parent bae19e0f53
commit 66721cacfa
19 changed files with 1062 additions and 79 deletions

View File

@ -42,6 +42,7 @@ import { VideosPage } from "./pages/videos";
import { LinkHandler } from "./pages/link-handler";
import { UploadPage } from "./pages/upload";
import { DebugPage } from "./pages/debug";
import { ShortsPage } from "./pages/shorts";
const hasWasm = "WebAssembly" in globalThis;
const workerRelay = new WorkerRelayInterface(
@ -105,6 +106,10 @@ const router = createBrowserRouter([
path: "/videos",
element: <VideosPage />,
},
{
path: "/shorts",
element: <ShortsPage />,
},
{
path: "/upload",
element: <UploadPage />,