From 2f4985b977180e0922d0814a1fc485073c97e626 Mon Sep 17 00:00:00 2001 From: Preetham Kulai Date: Tue, 17 Oct 2023 01:42:28 +0530 Subject: [PATCH] Enhancement: mjpeg stream widget placeholder image (#2192) * added placeholder image on stream load error * updated placeholder image to tv static animation * Revert "updated placeholder image to tv static animation" This reverts commit f0efdd8833e65919e5898957619d0b1a08479b16. * Inline animated tv static image --------- Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com> --- src/widgets/mjpeg/component.jsx | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/src/widgets/mjpeg/component.jsx b/src/widgets/mjpeg/component.jsx index 30907c311..b5a07a915 100644 --- a/src/widgets/mjpeg/component.jsx +++ b/src/widgets/mjpeg/component.jsx @@ -6,8 +6,31 @@ export default function Component({ service }) { return (
+
- stream + stream {e.target.parentElement.parentElement.className='tv-static'}} /> stream