3 ms·
The `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'
by elondaits 5y ago
The `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.