fix: remove video poster attribute to prevent image flash

Former-commit-id: d06c22c2b6d144eddff379b693fc2e080dd4c64e
This commit is contained in:
2026-05-07 23:17:01 +02:00
parent e324e2c508
commit 301b1786b9
3 changed files with 2 additions and 3 deletions

View File

@@ -157,7 +157,7 @@ export default async function Layout(props: {
const feedbackEnabled = process.env.NEXT_PUBLIC_FEEDBACK_ENABLED === 'true';
const cookieStore = await cookies();
const hasSeenLoader = cookieStore.has('etib_initial_load');
const hasSeenLoader = cookieStore.has('etib_initial_loader_v3');
return (
<html

View File

@@ -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

View File

@@ -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);
};