diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index 1c41f9ca5..2841a47a5 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -40,7 +40,10 @@ export default function LivePlayer({ const { activeMotion, activeAudio, activeTracking } = useCameraActivity(cameraConfig); - const cameraActive = useMemo(() => activeMotion || activeTracking, [activeMotion, activeTracking]) + const cameraActive = useMemo( + () => activeMotion || activeTracking, + [activeMotion, activeTracking] + ); const liveMode = useCameraLiveMode(cameraConfig, preferredLiveMode); const [liveReady, setLiveReady] = useState(false); @@ -168,8 +171,10 @@ export default function LivePlayer({ : "outline-0" } transition-all duration-500 ${className}`} > - {(showStillWithoutActivity == false || cameraActive) && - player} +
+
+ + {(showStillWithoutActivity == false || cameraActive) && player}
Motion
@@ -196,7 +201,7 @@ export default function LivePlayer({ {cameraConfig.audio.enabled_in_config && (
Sound
@@ -204,7 +209,7 @@ export default function LivePlayer({ )}
- + {recording == "ON" && ( )}