Web Wish 10: Srcset for Video
As mentioned earlier, Scott Jehl successfully landed support for responsive video last year.
While we now can use media queries to art direct video sources, it should also be possible to provide multiple resolutions for each source and have the browser pick the optimal one.
This is why I'm wishing for browsers to implement support for srcset
and sizes
on the <video>
and <source>
elements.
And, while they're at it figuring out how to support sizes=auto
for video would be a nice bonus.
Relevant issues and PRs: