From a8662d02d4e0c556f527ab522a96ab1391b06b5b Mon Sep 17 00:00:00 2001 From: Felix Boehme Date: Thu, 31 Aug 2023 18:58:36 +0200 Subject: [PATCH] Show Thumbnail --- src/video/components/actions/ProgressAction.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/components/actions/ProgressAction.tsx b/src/video/components/actions/ProgressAction.tsx index 5d8f4682..82c56a8f 100644 --- a/src/video/components/actions/ProgressAction.tsx +++ b/src/video/components/actions/ProgressAction.tsx @@ -22,7 +22,7 @@ export function ProgressAction() { const controlRef = useRef(controls); const [hoverPosition, setHoverPosition] = useState(0); const [isThumbnailVisible, setIsThumbnailVisible] = useState(false); - const casting = getPlayerState(descriptor).casting; + const casting = getPlayerState(descriptor).casting.isCasting; const onMouseOver = useCallback((e: MouseActivity) => { setHoverPosition(e.clientX); setIsThumbnailVisible(true);