feat(casting): mount the autoplay watcher and countdown overlay

This commit is contained in:
Uruk
2026-05-23 23:27:33 +02:00
parent d9e25135c4
commit 56e350891d
3 changed files with 109 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
/**
* Always-mounted host for the Chromecast autoplay watcher. Renders nothing —
* it exists only to run `useCastAutoplay` for the app's lifetime, so autoplay
* fires regardless of which screen is open.
*/
import { useCastAutoplay } from "@/hooks/useCastAutoplay";
export function CastAutoplayWatcher() {
useCastAutoplay();
return null;
}