Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[gow] (2) Make play() not reset playbackRate, since media engines nee…
…d to be able to preload at the right rate, which means that we need to set the playback rate before playing generally. (credit: ec)

git-svn-id: http://svn.whatwg.org/webapps@2490 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 1, 2008
1 parent 94418ad commit 54748ec
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
14 changes: 0 additions & 14 deletions index
Expand Up @@ -18156,20 +18156,6 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

</li>

<li>

<p>The <code title=dom-media-playbackRate><a href=#dom-media-playbackrate>playbackRate</a></code>
attribute must be set to the value of the <code title=dom-media-defaultPlaybackRate><a href=#dom-media-defaultplaybackrate>defaultPlaybackRate</a></code>
attribute.</p>

<p class=note>If this caused the <code title=dom-media-playbackRate><a href=#dom-media-playbackrate>playbackRate</a></code> attribute to
change value, the user agent <a href=#rateUpdate>will</a>
<a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
called <code title=event-ratechange><a href=#event-ratechange>ratechange</a></code> at the
<a href=#media-element>media element</a>.</p>

</li>

<li><p>If the <a href=#media-element>media element</a>'s <code title=dom-media-paused><a href=#dom-media-paused>paused</a></code> attribute is true, it must
be set to false.</li>

Expand Down
16 changes: 0 additions & 16 deletions source
Expand Up @@ -19669,22 +19669,6 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {

</li>

<li>

<p>The <code title="dom-media-playbackRate">playbackRate</code>
attribute must be set to the value of the <code
title="dom-media-defaultPlaybackRate">defaultPlaybackRate</code>
attribute.</p>

<p class="note">If this caused the <code
title="dom-media-playbackRate">playbackRate</code> attribute to
change value, the user agent <a href="#rateUpdate">will</a>
<span>queue a task</span> to <span>fire a simple event</span>
called <code title="event-ratechange">ratechange</code> at the
<span>media element</span>.</p>

</li>

<li><p>If the <span>media element</span>'s <code
title="dom-media-paused">paused</code> attribute is true, it must
be set to false.</p></li>
Expand Down

0 comments on commit 54748ec

Please sign in to comment.