mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-02 20:18:29 +01:00
13 lines
351 B
TypeScript
13 lines
351 B
TypeScript
/**
|
|
* 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;
|
|
}
|