From 066a9f0be75a1db28ab3db2045d0291a32bb236d Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Wed, 14 Oct 2026 23:42:14 -0600 Subject: [PATCH] fix: ignore interrupted hero playback --- src/components/home/HeroPalmMedia.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/home/HeroPalmMedia.tsx b/src/components/home/HeroPalmMedia.tsx index 3c5ad55c5..bbe0db9b3 100644 --- a/src/components/home/HeroPalmMedia.tsx +++ b/src/components/home/HeroPalmMedia.tsx @@ -13,6 +13,7 @@ export function HeroPalmMedia() { .play() .then(() => setIsVideoReady(true)) .catch((error: unknown) => { + if (error instanceof DOMException && error.name === 'AbortError') return console.error('Unable to play the homepage hero animation', error) setIsPlaying(false) setIsVideoReady(false)