Skip to content
Permalink
Browse files

[] (0) Make it so that multiple pending load()s are coallesced into o…

…ne. (credit: pj)

git-svn-id: http://svn.whatwg.org/webapps@2079 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 18, 2008
1 parent b526eaa commit cdef70077e9ac70a6b6ec87cdf04d14fd0451eb2
Showing with 17 additions and 6 deletions.
  1. +12 −6 index
  2. +5 −0 source
18 index
<code title=dom-media-load><a href="#load">load()</a></code> method on the
<a href="#media7">media element</a>, and ignores any resulting exceptions.
The <a href="#task-source">task source</a> for this task is the <a
href="#media7">media element</a>'s own <span>new resource task
source</span>.
href="#media7">media element</a>'s own <a href="#new-resource">new
resource task source</a>.

<p>The DOM attributes <dfn id=src6
title=dom-source-src><code>src</code></dfn>, <dfn id=type9
href="#load">load()</a></code> method on the <a href="#media7">media
element</a>, and ignores any resulting exceptions. The <a
href="#task-source">task source</a> for this task is the <a
href="#media7">media element</a>'s own <span>new resource task
source</span>.
href="#media7">media element</a>'s own <a href="#new-resource">new
resource task source</a>.

<p class=note>If a <code title=attr-media-src><a
href="#src7">src</a></code> attribute is specified, the resource it
method itself is invoked again.

<ol>
<li>
<p>If there are any <a href="#tasks" title=concept-task>tasks</a> from
the <a href="#media7">media element</a>'s own <dfn id=new-resource>new
resource task source</dfn> in one of the <a href="#task-queues"
title="task queue">task queues</a>, then remove those tasks.

<li>
<p>Any already-running instance of this algorithm for this element must
be aborted. If those method calls have not yet returned, they must
href="#load">load()</a></code> method on the <a href="#media7">media
element</a>, and ignores any resulting exceptions. The <a
href="#task-source">task source</a> for this task is the <a
href="#media7">media element</a>'s own <span>new resource task
source</span>.
href="#media7">media element</a>'s own <a href="#new-resource">new
resource task source</a>.

<p>The <dfn id=bufferingrate
title=dom-media-bufferingRate><code>bufferingRate</code></dfn> attribute
5 source

<ol>

<li><p>If there are any <span title="concept-task">tasks</span>
from the <span>media element</span>'s own <dfn>new resource task
source</dfn> in one of the <span title="task queue">task
queues</span>, then remove those tasks.</p></li>

<li><p>Any already-running instance of this algorithm for this
element must be aborted. If those method calls have not yet
returned, they must finish the step they are on, and then

0 comments on commit cdef700

Please sign in to comment.
You can’t perform that action at this time.