Written by Philip Jägenstedt with contributions from Silvia Pfeiffer (add your name here if you edit the wiki page).
<video audio=muted> with
The only concrete use case currently being solved by the
audio attribute is muting the audio track by default.
About the spec note "A future version of this specification will probably introduce new values here, e.g. to control the default volume, or to select a default audio track":
- Default volume could be controlled by a
volumeattribute reflected in
- Enabling/disabling tracks by default should ideally be solved by a similar mechanism for audio, video and text tracks. As such, it's unlikely that using the
audioattribute would be a satisfactory solution.
Lacking any compelling future use cases for
<video audio=muted>, reducing it to
<video muted> is a simpler solution for muting, both for authors and implementors.
- Remove the
- Add a
Simpler to implement and use.
muted attribute has to be reflected as
defaultMuted, as the
muted IDL attribute is already used for the effective muted state, rather than the default.
Conformance Classes Changes
Changes for UA's and validators.
If we eventually come up with lots of different audio-related setting that need to be settable in markup, we might end up with many different attributes reflected with non-optimal names, rather than a single attribute with space-separated tokens. (It's not obvious that this is a bad thing.)