diff --git a/web/src/components/player/PreviewVideoPlayer.tsx b/web/src/components/player/PreviewVideoPlayer.tsx index a7ad79bd7..8f3f170d2 100644 --- a/web/src/components/player/PreviewVideoPlayer.tsx +++ b/web/src/components/player/PreviewVideoPlayer.tsx @@ -29,19 +29,6 @@ export default function PreviewVideoPlayer({ }: PreviewVideoPlayerProps) { const { data: config } = useSWR("config"); - // playback behavior - const tallVideo = useMemo(() => { - if (!config) { - return false; - } - - return ( - config.cameras[camera].detect.width / - config.cameras[camera].detect.height < - 1 - ); - }, [camera, config]); - // controlling playback const previewRef = useRef(null); @@ -123,12 +110,12 @@ export default function PreviewVideoPlayer({ return (