From b2ceb15db4be6e7f2a9ff0783b86c6eb618f0a93 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Thu, 22 Jan 2026 11:07:26 -0600 Subject: [PATCH] frontend --- web/src/components/player/LivePlayer.tsx | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/web/src/components/player/LivePlayer.tsx b/web/src/components/player/LivePlayer.tsx index 9500688f5..38976d450 100644 --- a/web/src/components/player/LivePlayer.tsx +++ b/web/src/components/player/LivePlayer.tsx @@ -81,6 +81,11 @@ export default function LivePlayer({ const internalContainerRef = useRef(null); const cameraName = useCameraFriendlyName(cameraConfig); + + // player is showing on a dashboard if containerRef is not provided + + const inDashboard = containerRef?.current == null; + // stats const [stats, setStats] = useState({ @@ -408,6 +413,28 @@ export default function LivePlayer({ /> + {offline && inDashboard && ( + <> +
+
+
+
{t("streamOffline.title")}
+ +

+ + streamOffline.desc + +

+
+
+ + )} + {offline && !showStillWithoutActivity && cameraEnabled && (