From 641728773a1f86b91f7e0a7669ce72ff88d6fe8b Mon Sep 17 00:00:00 2001 From: tony Date: Thu, 20 Apr 2023 13:09:40 -0700 Subject: [PATCH] Got rid of the poster attribure and replaced with the preload attribute so it feels snappier --- Components/Layout/section.jsx | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/Components/Layout/section.jsx b/Components/Layout/section.jsx index 1053ff0..8233147 100644 --- a/Components/Layout/section.jsx +++ b/Components/Layout/section.jsx @@ -52,7 +52,7 @@ const Section = ({ muted loop autoPlay={isPlaying} - poster="/loading1.gif" // loading animation + preload="metadata" />
@@ -61,13 +61,14 @@ const Section = ({
{buttonLink && ( - - {buttonTwoText} - -)} + + {buttonTwoText} + + )}