gaearon / overreacted.io

Personal blog by Dan Abramov.
https://overreacted.io
7.05k stars 1.7k forks source link

Feature/media optimization #815

Closed QuantGeekDev closed 9 months ago

QuantGeekDev commented 9 months ago

.png, .jpg files -> .webp .gif -> .webm

Added VideoAutoplay client component to replicate gif behavior with .webp videos

replaced gif markdown with html5 video as there is no markdown support for this. Small tradeoff for performance and file-size.

Hope this is useful!

vercel[bot] commented 9 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
overreacted.io ✅ Ready (Inspect) Visit Preview Jan 11, 2024 2:36am
QuantGeekDev commented 9 months ago

The deploy preview seems to be giving me trouble loading the webms when accessing on iPhone... Will look into it in the morning

QuantGeekDev commented 9 months ago

Fixing it