- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 12 Apr 2011 20:24:26 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv6439 Modified Files: Overview.html Log Message: Change <video audio=muted> to <video muted> (applies wg decision) (whatwg r5991) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.4814 retrieving revision 1.4815 diff -u -d -r1.4814 -r1.4815 --- Overview.html 12 Apr 2011 20:08:17 -0000 1.4814 +++ Overview.html 12 Apr 2011 20:24:22 -0000 1.4815 @@ -21504,7 +21504,7 @@ <dd><code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code></dd> <dd><code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code></dd> <dd><code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code></dd> - <dd><code title="attr-media-audio"><a href="#attr-media-audio">audio</a></code></dd> + <dd><code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code></dd> <dd><code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code></dd> <dd><code title="attr-dim-width"><a href="#attr-dim-width">width</a></code></dd> <dd><code title="attr-dim-height"><a href="#attr-dim-height">height</a></code></dd> @@ -21516,7 +21516,6 @@ readonly attribute unsigned long <a href="#dom-video-videowidth" title="dom-video-videoWidth">videoWidth</a>; readonly attribute unsigned long <a href="#dom-video-videoheight" title="dom-video-videoHeight">videoHeight</a>; attribute DOMString <a href="#dom-video-poster" title="dom-video-poster">poster</a>; - [PutForwards=<a href="#dom-domsettabletokenlist-value" title="dom-DOMSettableTokenList-value">value</a>] attribute <a href="#domsettabletokenlist">DOMSettableTokenList</a> <a href="#dom-media-audio" title="dom-media-audio">audio</a>; <!-- attr-media-audio --> };</pre> </dd> </dl><p>A <code><a href="#video">video</a></code> element is used for playing videos or @@ -21534,10 +21533,9 @@ overlays) into their media streams.<p>The <code><a href="#video">video</a></code> element is a <a href="#media-element">media element</a> whose <a href="#media-data">media data</a> is ostensibly video data, possibly with associated audio data.<p>The <code title="attr-media-src"><a href="#attr-media-src">src</a></code>, <code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code>, <code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code>, - <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code> attributes are <a href="#media-element-attributes" title="media element attributes">the attributes common to all media - elements</a>. The <code title="attr-media-audio"><a href="#attr-media-audio">audio</a></code> - attribute <a href="#attr-media-audio" title="attr-media-audio">controls the audio - channel</a>.<p>The <dfn id="attr-video-poster" title="attr-video-poster"><code>poster</code></dfn> + <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, + <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code> attributes are <a href="#media-element-attributes" title="media element attributes">the attributes common to all media + elements</a>.<p>The <dfn id="attr-video-poster" title="attr-video-poster"><code>poster</code></dfn> attribute gives the address of an image file that the user agent can show while no video data is available. The attribute, if present, must contain a <a href="#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by @@ -21731,9 +21729,6 @@ <hr><p>The <dfn id="dom-video-poster" title="dom-video-poster"><code>poster</code></dfn> IDL attribute must <a href="#reflect">reflect</a> the <code title="attr-video-poster"><a href="#attr-video-poster">poster</a></code> content attribute.</p> - <p>The <dfn id="dom-media-audio" title="dom-media-audio"><code>audio</code></dfn> IDL - attribute must <a href="#reflect">reflect</a> the <code title="attr-media-audio"><a href="#attr-media-audio">audio</a></code> content attribute.</p> - </div><div class="example"> <p>This example shows how to detect when a video has failed to play @@ -21808,6 +21803,7 @@ <dd><code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code></dd> <dd><code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code></dd> <dd><code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code></dd> + <dd><code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code></dd> <dd><code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code></dd> <dt>DOM interface:</dt> <dd> @@ -21843,7 +21839,8 @@ embed accessibility aids (such as transcriptions) into their media streams.<p>The <code><a href="#audio">audio</a></code> element is a <a href="#media-element">media element</a> whose <a href="#media-data">media data</a> is ostensibly audio data.<p>The <code title="attr-media-src"><a href="#attr-media-src">src</a></code>, <code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code>, <code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code>, - <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code> attributes are <a href="#media-element-attributes" title="media element attributes">the attributes common to all media + <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, + <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code> attributes are <a href="#media-element-attributes" title="media element attributes">the attributes common to all media elements</a>.<div class="impl"> <p>When an <code><a href="#audio">audio</a></code> element is <a href="#potentially-playing">potentially @@ -22265,14 +22262,16 @@ attribute boolean <a href="#dom-media-controls" title="dom-media-controls">controls</a>; attribute double <a href="#dom-media-volume" title="dom-media-volume">volume</a>; attribute boolean <a href="#dom-media-muted" title="dom-media-muted">muted</a>; + attribute boolean <a href="#dom-media-defaultmuted" title="dom-media-defaultMuted">defaultMuted</a>; <!--KEEP-END w3c-html--><!--TT--> // tracks readonly attribute <a href="#texttrack">TextTrack</a>[] <a href="#dom-media-texttracks" title="dom-media-textTracks">textTracks</a>; <a href="#mutabletexttrack">MutableTextTrack</a> <a href="#dom-media-addtexttrack" title="dom-media-addTextTrack">addTextTrack</a>(in DOMString kind, in optional DOMString label, in optional DOMString language); <!--KEEP-START w3c-html--><!--TT--> };</pre><p>The <dfn id="media-element-attributes">media element attributes</dfn>, <code title="attr-media-src"><a href="#attr-media-src">src</a></code>, <code title="attr-media-preload"><a href="#attr-media-preload">preload</a></code>, <code title="attr-media-autoplay"><a href="#attr-media-autoplay">autoplay</a></code>, - <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code>, apply to all <a href="#media-element" title="media element">media elements</a>. They are defined in - this section.</p><!-- attr-media-audio --><!-- proposed v2 (actually v3!) features: + <code title="attr-media-loop"><a href="#attr-media-loop">loop</a></code>, + <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code>, and <code title="attr-media-controls"><a href="#attr-media-controls">controls</a></code>, apply to all <a href="#media-element" title="media element">media elements</a>. They are defined in + this section.</p><!-- proposed v2 (actually v3!) features: * frame forward / backwards / step(n) while paused * per-frame control: get current frame; set current frame * queue of content @@ -25856,38 +25855,17 @@ possible setting; for example the user could have set a maximum volume.</li> - </ol></div><p>The <dfn id="attr-media-audio" title="attr-media-audio"><code>audio</code></dfn> + </ol></div><p>The <dfn id="attr-media-muted" title="attr-media-muted"><code>muted</code></dfn> attribute on the <code><a href="#video">video</a></code> element controls the default state of the audio channel of the <a href="#media-resource">media resource</a>, - potentially overriding user preferences.<p>The <code title="attr-media-audio"><a href="#attr-media-audio">audio</a></code> attribute, if - specified, must have a value that is an <a href="#unordered-set-of-unique-space-separated-tokens">unordered set of - unique space-separated tokens</a>, which are <a href="#ascii-case-insensitive">ASCII - case-insensitive</a>. The tokens must be from the following list - (currently, only one allowed token is defined):<dl><dt><dfn id="attr-media-audio-keyword-muted" title="attr-media-audio-keyword-muted"><code>muted</code></dfn></dt> - - <dd> - - <p>Causes the user agent to override the user's preferences, if - any, and always default the video to muted.</p> - - </dd> - - </dl><p class="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.<div class="impl"> + potentially overriding user preferences.<div class="impl"> - <p>When a <code><a href="#video">video</a></code> element is created, if it has an <code title="attr-media-audio"><a href="#attr-media-audio">audio</a></code> attribute specified, the user - agent must <a href="#split-a-string-on-spaces" title="split a string on spaces">split the - attribute's value on spaces</a>; if any of the tokens are an - <a href="#ascii-case-insensitive">ASCII case-insensitive</a> match for the string <code title="attr-media-audio-keyword-muted"><a href="#attr-media-audio-keyword-muted">muted</a></code>, the user agent - must then set the <code title="dom-media-muted"><a href="#dom-media-muted">muted</a></code> + <p>When a <a href="#media-element">media element</a> is created, if it has a <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code> attribute specified, the user + agent must set the <code title="dom-media-muted"><a href="#dom-media-muted">muted</a></code> IDL attribute to true, overriding any user preference.</p> - <!-- attr-media-audio - <p>The <dfn title="dom-media-audio"><code>audio</code></dfn> IDL - attribute must <span>reflect</span> the content attribute of the - same name.</p> - --> + <p>The <dfn id="dom-media-defaultmuted" title="dom-media-defaultMuted"><code>defaultMuted</code></dfn> IDL + attribute must <a href="#reflect">reflect</a> the <code title="attr-media-muted"><a href="#attr-media-muted">muted</a></code> content attribute.</p> </div><p class="note">This attribute has no dynamic effect (it only controls the default state of the element).<div class="example"> @@ -25896,7 +25874,7 @@ users, it does so without sound, and allows the user to turn the sound on.</p> - <pre><video src="adverts.cgi?kind=video" controls autoplay loop audio=muted></video></pre> + <pre><video src="adverts.cgi?kind=video" controls autoplay loop muted></video></pre> </div><h5 id="time-ranges"><span class="secno">4.8.10.12 </span>Time ranges</h5><p>Objects implementing the <code><a href="#timeranges">TimeRanges</a></code> interface represent a list of ranges (periods) of time.<pre class="idl">interface <dfn id="timeranges">TimeRanges</dfn> {
Received on Tuesday, 12 April 2011 20:24:28 UTC