DEV Community

Discussion on: I’m a digital nomad and author of High Performance Android Apps, ask me anything!

Collapse
 
etportis profile image
Eric Portis • Edited

What are the current best practices for responsive video? I know <video><source media> was deprecated a while ago...

Collapse
 
dougsillars profile image
Doug Sillars

Here's where client hints would be really helpful, but they are currently turned off in Chrome. I think the best way is to use JS to define the screen size and format and make the correct request (and while you are at it - look at the netInfo too - perhaps you can further optimize the content based on the network speed.