[html5] r1076 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 18 18:54:39 PDT 2007


Author: ianh
Date: 2007-10-18 18:54:38 -0700 (Thu, 18 Oct 2007)
New Revision: 1076

Modified:
   index
   source
Log:
[g] (2) make it so that changing 'src' will cause load() to be invoked if it's not already playing

Modified: index
===================================================================
--- index	2007-10-19 01:52:22 UTC (rev 1075)
+++ index	2007-10-19 01:54:38 UTC (rev 1076)
@@ -13711,6 +13711,16 @@
    gives the address of the media resource (video, audio) to show. The
    attribute, if present, must contain a URI (or IRI).
 
+  <p>If the <code title=attr-media-src><a href="#src5">src</a></code>
+   attribute of a <a href="#media5">media element</a> that is already in a
+   document and whose <code title=dom-media-networkState><a
+   href="#networkstate">networkState</a></code> is in the <code
+   title=dom-media-EMPTY><a href="#empty">EMPTY</a></code> state is added,
+   changed, or removed, the user agent must implicitly invoke the <code
+   title=dom-media-load><a href="#load">load()</a></code> method on the <a
+   href="#media5">media element</a> as soon as all other scripts have
+   finished executing. Any exceptions raised must be ignored.
+
   <p class=note>If a <code title=attr-media-src><a
    href="#src5">src</a></code> attribute is specified, the resource it
    specifies is the <a href="#media8">media resource</a> that will be used.

Modified: source
===================================================================
--- source	2007-10-19 01:52:22 UTC (rev 1075)
+++ source	2007-10-19 01:54:38 UTC (rev 1076)
@@ -11587,6 +11587,15 @@
   the address of the media resource (video, audio) to show. The
   attribute, if present, must contain a URI (or IRI).</p>
 
+  <p>If the <code title="attr-media-src">src</code> attribute of a
+  <span>media element</span> that is already in a document and whose
+  <code title="dom-media-networkState">networkState</code> is in the
+  <code title="dom-media-EMPTY">EMPTY</code> state is added, changed,
+  or removed, the user agent must implicitly invoke the <code
+  title="dom-media-load">load()</code> method on the <span>media
+  element</span> as soon as all other scripts have finished
+  executing. Any exceptions raised must be ignored.</p>
+
   <p class="note">If a <code title="attr-media-src">src</code>
   attribute is specified, the resource it specifies is the <span>media
   resource</span> that will be used. Otherwise, the resource specified




More information about the Commit-Watchers mailing list