- From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 24 Aug 2010 07:37:29 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv8345
Modified Files:
spec.html video.html
Log Message:
various clarifications for <video> and <source>. (whatwg r5326)
[updated by splitter]
Index: video.html
===================================================================
RCS file: /sources/public/html5/spec/video.html,v
retrieving revision 1.881
retrieving revision 1.882
diff -u -d -r1.881 -r1.882
--- video.html 24 Aug 2010 01:26:45 -0000 1.881
+++ video.html 24 Aug 2010 07:37:27 -0000 1.882
@@ -721,7 +721,13 @@
elements</a>. It does not <a href="rendering.html#represents" title="represents">represent</a> anything on its own.</p><p>The <dfn id="attr-source-src" title="attr-source-src"><code>src</code></dfn> attribute
gives the address of the <a href="#media-resource">media resource</a>. The value must
be a <a href="urls.html#valid-non-empty-url-potentially-surrounded-by-spaces">valid non-empty URL potentially surrounded by
- spaces</a>. This attribute must be present.</p><p>The <dfn id="attr-source-type" title="attr-source-type"><code>type</code></dfn>
+ spaces</a>. This attribute must be present.</p><p class="note">Dynamically modifying a <code><a href="#the-source-element">source</a></code> element
+ and its attribute when the element is already inserted in a
+ <code><a href="#video">video</a></code> or <code><a href="#audio">audio</a></code> element will have no
+ effect. To change what is playing, either just use the <code title="attr-media-src"><a href="#attr-media-src">src</a></code> attribute on the <a href="#media-element">media
+ element</a> directly, or call the <code title="dom-media-load"><a href="#dom-media-load">load()</a></code> method on the <a href="#media-element">media
+ element</a> after manipulating the <code><a href="#the-source-element">source</a></code>
+ elements.</p><p>The <dfn id="attr-source-type" title="attr-source-type"><code>type</code></dfn>
attribute gives the type of the <a href="#media-resource">media resource</a>, to help
the user agent determine if it can play this <a href="#media-resource">media
resource</a> before fetching it. If specified, its value must be
@@ -1159,7 +1165,7 @@
<dt><dfn id="dom-media-network_no_source" title="dom-media-NETWORK_NO_SOURCE"><code>NETWORK_NO_SOURCE</code></dfn> (numeric value 3)</dt>
<dd>The element<span class="impl">'s <a href="#concept-media-load-algorithm" title="concept-media-load-algorithm">resource selection
- algorithm</a> is active, but it</span> has failed to find a
+ algorithm</a> is active, but it</span> has so not yet found a
<a href="#media-resource" title="media resource">resource</a> to use.</dd>
</dl><div class="impl">
@@ -1241,7 +1247,7 @@
<p>Set the <a href="#current-playback-position">current playback position</a> to 0.</p>
<p>If this changed the <a href="#current-playback-position">current playback position</a>,
- then span>queue a task to <a href="webappapis.html#fire-a-simple-event">fire a simple
+ then <a href="webappapis.html#queue-a-task">queue a task</a> to <a href="webappapis.html#fire-a-simple-event">fire a simple
event</a> named <code title="event-media-timeupdate"><a href="#event-media-timeupdate">timeupdate</a></code> at the
<a href="#media-element">media element</a>.</p>
Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1160
retrieving revision 1.1161
diff -u -d -r1.1160 -r1.1161
--- spec.html 24 Aug 2010 01:26:45 -0000 1.1160
+++ spec.html 24 Aug 2010 07:37:27 -0000 1.1161
@@ -336,7 +336,7 @@
<a href="Overview.html">single page HTML</a>,
<a href="spec.html">multipage HTML</a>,
<a href="author/">author edition</a>.
-This is revision 1.4244.
+This is revision 1.4245.
</p>
<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
© 2010 <a href="http://www.w3.org/"><abbr title="World Wide
Received on Tuesday, 24 August 2010 07:37:32 UTC