Dark mode videos with prefers-color-scheme
Dark mode has wide browser support and media queries allow for switching images by user color scheme. The same is also possible with video elements.
Dark mode has wide browser support and media queries allow for switching images by user color scheme. The same is also possible with video elements.
Attaching Lambda functions to Cloudfront distributions allows for server side scripting on a static site. This enables easy permanent redirects or AB tests.