Skip to content

Commit f6f4dec

Browse files
committed
add video preload + proper video frame fallback
1 parent 4c003e2 commit f6f4dec

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

public/mascot-waving.png

237 KB
Loading

src/ui/layout.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ export function Layout({
2626
/>
2727
<meta name="author" content="Karol Dzialowski" />
2828
<link rel="icon" href="/favicon.ico" />
29+
<link
30+
rel="preload"
31+
as="video"
32+
href="/mascot-waving.mp4"
33+
type="video/mp4"
34+
/>
2935
</Head>
3036
<div>
3137
{children}

0 commit comments

Comments
 (0)