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)