Skip to content

🎥 Make videos programmatically with React

Update Avif.tsx

Jonny Burger0014acf5b96a
diff --git a/packages/example/src/AnimatedImage/Avif.tsx b/packages/example/src/AnimatedImage/Avif.tsx
index cb5c6df578..810f61d3a3 100644
--- a/packages/example/src/AnimatedImage/Avif.tsx
+++ b/packages/example/src/AnimatedImage/Avif.tsx
@@ -6,28 +6,28 @@ const Comp = () => {
<AbsoluteFill className="bg-white justify-center items-center flex flex-row gap-20">
<div className="flex flex-col items-center gap-8">
<AnimatedImage
- className="h-96 inline-block rounded-2xl outline outline-4 outline-black"
+ className="h-96 inline-block rounded-2xl outline-4 outline-black"
src="https://colinbendell.github.io/webperf/animated-gif-decode/2.avif"
/>
<div className="text-7xl font-sans font-bold">AVIF</div>
</div>
<div className="flex flex-col items-center gap-8">
<AnimatedImage
- className="h-96 inline-block rounded-2xl outline outline-4 outline-black"
+ className="h-96 inline-block rounded-2xl outline-4 outline-black"
src="https://mathiasbynens.be/demo/animated-webp-supported.webp"
/>
<div className="text-7xl font-sans font-bold">WebP</div>
</div>
<div className="flex flex-col items-center gap-8">
<AnimatedImage
- className="h-96 inline-block rounded-2xl outline outline-4 outline-black"
+ className="h-96 inline-block rounded-2xl outline-4 outline-black"
src={staticFile('giphy.gif')}
/>
<div className="text-7xl font-sans font-bold">GIF</div>
</div>
<div className="flex flex-col items-center gap-8">
<AnimatedImage
- className="h-96 inline-block rounded-2xl outline outline-8 outline-[#0B84F3]"
+ className="h-96 inline-block rounded-2xl outline-8 outline-[#0B84F3]"
src={staticFile('animated-png.png')}
/>
<div className="text-7xl font-sans font-bold">APNG</div>