3 ms·
The canonical way to handle responsive videos is to embed multiple source elements within the video element, and them use the media attribute to respond to the
by throwitaway1123 2y ago
The canonical way to handle responsive videos is to embed multiple source elements within the video element, and them use the media attribute to respond to the user's viewport size, and preferred color scheme: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source#using_the_media_attribute_with_video https://developer.mozilla.org/en-US/docs/Web/HTML/Element/so...