Note from 24 May 2023
I really like to see that all browser vendors agree with @scottjehl@mstdn.social that we need @media, srcset and sizes for <video> as for <img>/<picture>! 🤩
I really like to see that all browser vendors agree with @scottjehl@mstdn.social that we need @media, srcset and sizes for <video> as for <img>/<picture>! 🤩
Standards In Progress: Making Video Posters Accessible, Responsive, and an Element
I'm showing just a sampling of the available markup here of course–you might want to coordinate multiple art-directed video and picture sources for…
Sizes="auto" pretty much requires width and height attributes
sizes="auto" is a great new feature of HTML for lazy loaded responsive images. are we dealing with an with sizes=auto? Then its natural dimensions…
We're Bringing Responsive Video Back!
Responsive videos with simple HTML and no JS! 😍 Hopefully, this patch will show up in an upcoming Firefox release! 🤞
New Recommendations for Ecommerce Images
For ecommerce companies—particularly for those selling apparel—it likely makes sense to prioritize image quality above file size. This is a really…
The media attribute is back into the spec for <video>'s <source>! 🥳
https://github.com/whatwg/html/pull/9341
Let's hope srcset and sizes come next, but this needs a new issue:
https://github.com/whatwg/html/issues/6363#issuecomment-1564464346