Skip to content

Commit

Permalink
[e] (0) Add another example for 'durationchange'.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2492 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 1, 2008
1 parent 5f98fac commit b558d74
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion index
Expand Up @@ -17794,7 +17794,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael

<p class=example>If an "infinite" stream ends for some reason,
then the duration would change from positive Infinity to the time of
the last frame or sample in the stream.</p>
the last frame or sample in the stream, and the <code title=event-durationchange><a href=#event-durationchange>durationchange</a></code> event would be
fired. Similarly, if the user agent initially estimated the
<a href=#media-resource>media resource</a>'s duration instead of determining it
precisely, and later revises the estimate based on new information,
then the duration would change and the <code title=event-durationchange><a href=#event-durationchange>durationchange</a></code> event would be
fired.</p>

<p><a href=#media-element title="media element">Media elements</a> have a
<dfn id=current-playback-position>current playback position</dfn>, which must initially be
Expand Down
9 changes: 8 additions & 1 deletion source
Expand Up @@ -19221,7 +19221,14 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {

<p class="example">If an "infinite" stream ends for some reason,
then the duration would change from positive Infinity to the time of
the last frame or sample in the stream.</p>
the last frame or sample in the stream, and the <code
title="event-durationchange">durationchange</code> event would be
fired. Similarly, if the user agent initially estimated the
<span>media resource</span>'s duration instead of determining it
precisely, and later revises the estimate based on new information,
then the duration would change and the <code
title="event-durationchange">durationchange</code> event would be
fired.</p>

<p><span title="media element">Media elements</span> have a
<dfn>current playback position</dfn>, which must initially be
Expand Down

0 comments on commit b558d74

Please sign in to comment.