4 ms·
We should define a media pseudo-format, or at least attributes for the ‘video’ tag, which would say that the video will play without sound—with it being enforce
by aasasd 5y ago
We should define a media pseudo-format, or at least attributes for the ‘video’ tag, which would say that the video will play without sound—with it being enforced by the browser and without the option for the user to turn sound on. This way, modern codecs can be used for short animations instead of the format for moving 16x16 icons from '87—while still allowing users to block regular videos. Maybe even force-limit the duration to thirty seconds or so.
Right now, it doesn't make much sense that GIFs are allowed to play automatically, but decent codecs aren't—if I want to evade videos, that is.
(Though OTOH the size of GIFs might serve a purpose in limiting site-authors' appetites for trashy animation, but I don't see bandwidth being much of a concern for them lately.)
- elondaits 5y agoThe `muted` attribute of the <video> tag already does that. It's an important attribute because it's necessary for videos to autoplay under Chrome. If you don't mute the video autoplay will only work if some special conditions are met (e.g. the user already played video with sound before on that site, etc.)
- aasasd 5y agoEh, sites still just play long videos, but muted—expecting that your attention will be inevitably drawn by the movement, and you'll enable sound. It's just part of all the flashy junk immediately distracting the visitor from whatever they wanted to do on the page. Instead, videos shouldn't play unless they have a ‘muted-forever’ attribute, with no way to enable sound. This way they will be the same as GIFs, but with better codecs.