diff --git a/frontend/src/components/WatchPage.tsx b/frontend/src/components/WatchPage.tsx index 5022d4c..9008c2e 100644 --- a/frontend/src/components/WatchPage.tsx +++ b/frontend/src/components/WatchPage.tsx @@ -1,10 +1,81 @@ -import { useEffect, useState } from "react"; +import { useEffect, useRef, useState } from "react"; import { Download, Link2, Lock, PlayCircle } from "lucide-react"; // Standalone, login-free video page for a shared /watch/ link. Rendered OUTSIDE the app // tree (no auth, no providers) — like the /privacy and /terms pages. Uses plain fetch and a tiny // self-contained i18n dict (the public viewer has no app language preference). +// Keep audio playing when the page is backgrounded (iOS Safari/Brave otherwise suspend a