Browse files

[e] (0) Clarify that <video> and <audio> can both be used for both au…

…dio and video.

git-svn-id: http://svn.whatwg.org/webapps@6020 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent f56567d commit 14ab30e0c2938af4ff5ceccdb0d490e08ded636a @Hixie Hixie committed Apr 20, 2011
Showing with 21 additions and 3 deletions.
  1. +7 −1 complete.html
  2. +7 −1 index
  3. +7 −1 source
View
8 complete.html
@@ -25167,7 +25167,7 @@ <h4 id=video><span class=secno>4.8.6 </span>The <dfn><code>video</code></dfn> el
};</pre>
</dd>
</dl><p>A <code><a href=#video>video</a></code> element is used for playing videos or
- movies.</p>
+ movies, and audio files with captions.</p>
<p>Content may be provided inside the <code><a href=#video>video</a></code>
element<span class=impl>. User agents should not show this content
@@ -26121,6 +26121,12 @@ <h4 id=media-elements><span class=secno>4.8.10 </span>Media elements</h4>
attribute.</p>
<!--CONTROLLER-->
+ <p class=note>Both <code><a href=#audio>audio</a></code> and <code><a href=#video>video</a></code>
+ elements can be used for both audio and video. The main difference
+ between the two is simply that the <code><a href=#audio>audio</a></code> element has no
+ playback area for visual content (such as video or captions),
+ whereas the <code><a href=#video>video</a></code> element does.</p>
+
<div class=impl>
<p>Except where otherwise specified, the <a href=#task-source>task source</a>
View
8 index
@@ -25179,7 +25179,7 @@ href="?audio"&gt;audio&lt;/a&gt; test instead.)&lt;/p&gt;</pre>
};</pre>
</dd>
</dl><p>A <code><a href=#video>video</a></code> element is used for playing videos or
- movies.</p>
+ movies, and audio files with captions.</p>
<p>Content may be provided inside the <code><a href=#video>video</a></code>
element<span class=impl>. User agents should not show this content
@@ -26133,6 +26133,12 @@ interface <dfn id=htmlaudioelement>HTMLAudioElement</dfn> : <a href=#htmlmediael
attribute.</p>
<!--CONTROLLER-->
+ <p class=note>Both <code><a href=#audio>audio</a></code> and <code><a href=#video>video</a></code>
+ elements can be used for both audio and video. The main difference
+ between the two is simply that the <code><a href=#audio>audio</a></code> element has no
+ playback area for visual content (such as video or captions),
+ whereas the <code><a href=#video>video</a></code> element does.</p>
+
<div class=impl>
<p>Except where otherwise specified, the <a href=#task-source>task source</a>
View
8 source
@@ -27148,7 +27148,7 @@ href="?audio">audio&lt;/a> test instead.)&lt;/p></pre>
</dl>
<p>A <code>video</code> element is used for playing videos or
- movies.</p>
+ movies, and audio files with captions.</p>
<p>Content may be provided inside the <code>video</code>
element<span class="impl">. User agents should not show this content
@@ -28215,6 +28215,12 @@ interface <dfn>HTMLAudioElement</dfn> : <span>HTMLMediaElement</span> {};</pre>
attribute.</p>
<!--START w3c-html--><!--CONTROLLER-->
+ <p class="note">Both <code>audio</code> and <code>video</code>
+ elements can be used for both audio and video. The main difference
+ between the two is simply that the <code>audio</code> element has no
+ playback area for visual content (such as video or captions),
+ whereas the <code>video</code> element does.</p>
+
<div class="impl">
<p>Except where otherwise specified, the <span>task source</span>

0 comments on commit 14ab30e

Please sign in to comment.