From d2a0fce03d922bfce0468ab3b5ee25fde3009140 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 26 May 2024 13:38:41 -0600 Subject: [PATCH] Use video api instead of webps for live current hour filmstrip --- web/src/components/card/AnimatedEventCard.tsx | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/web/src/components/card/AnimatedEventCard.tsx b/web/src/components/card/AnimatedEventCard.tsx index b2a4750a9..6123fa72b 100644 --- a/web/src/components/card/AnimatedEventCard.tsx +++ b/web/src/components/card/AnimatedEventCard.tsx @@ -13,6 +13,7 @@ import { } from "../player/PreviewThumbnailPlayer"; import { isCurrentHour } from "@/utils/dateUtil"; import { useCameraPreviews } from "@/hooks/use-camera-previews"; +import { baseUrl } from "@/api/baseUrl"; type AnimatedEventCardProps = { event: ReviewSegment; @@ -105,18 +106,11 @@ export function AnimatedEventCard({ event }: AnimatedEventCardProps) { windowVisible={windowVisible} /> ) : ( - {}} - setIgnoreClick={() => {}} - isPlayingBack={() => {}} - windowVisible={windowVisible} /> )}