diff --git a/web/src/components/player/BirdseyeLivePlayer.tsx b/web/src/components/player/BirdseyeLivePlayer.tsx index 5157a6ed6..10d578115 100644 --- a/web/src/components/player/BirdseyeLivePlayer.tsx +++ b/web/src/components/player/BirdseyeLivePlayer.tsx @@ -3,15 +3,20 @@ import { BirdseyeConfig } from "@/types/frigateConfig"; import ActivityIndicator from "../indicators/activity-indicator"; import JSMpegPlayer from "./JSMpegPlayer"; import MSEPlayer from "./MsePlayer"; +import { LivePlayerMode } from "@/types/live"; type LivePlayerProps = { + className?: string; birdseyeConfig: BirdseyeConfig; - liveMode: string; + liveMode: LivePlayerMode; + onClick?: () => void; }; export default function BirdseyeLivePlayer({ + className, birdseyeConfig, liveMode, + onClick, }: LivePlayerProps) { let player; if (liveMode == "webrtc") { @@ -45,7 +50,10 @@ export default function BirdseyeLivePlayer({ } return ( -