Skip to content

Commit

Permalink
[g] (2) make it so that changing 'src' will cause load() to be invoke…
Browse files Browse the repository at this point in the history
…d if it's not already playing

git-svn-id: http://svn.whatwg.org/webapps@1076 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 19, 2007
1 parent b175bef commit f2edb91
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -13711,6 +13711,16 @@ The island of Shalott.&lt;/p></pre>
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.
Expand Down
9 changes: 9 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -11587,6 +11587,15 @@ The island of Shalott.&lt;/p></pre>
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
Expand Down

0 comments on commit f2edb91

Please sign in to comment.