fix: remove video poster attribute to prevent image flash
Former-commit-id: d06c22c2b6d144eddff379b693fc2e080dd4c64e
This commit is contained in:
@@ -46,7 +46,6 @@ export function HeroVideo(props: HeroVideoProps) {
|
||||
<video
|
||||
className="absolute inset-0 w-full h-full object-cover z-1 pointer-events-none filter contrast-125 saturate-110 brightness-90"
|
||||
src={videoUrl}
|
||||
poster={posterSrc}
|
||||
autoPlay
|
||||
muted
|
||||
loop
|
||||
|
||||
@@ -44,7 +44,7 @@ export function InitialLoader({ shouldShowLoader = true }: { shouldShowLoader?:
|
||||
|
||||
const finishLoading = () => {
|
||||
// Set a session cookie so the server knows not to render the loader again
|
||||
document.cookie = "etib_initial_load=true; path=/; samesite=lax";
|
||||
document.cookie = "etib_initial_loader_v3=true; path=/; samesite=lax";
|
||||
setIsLoading(false);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user