[html5] r6020 - [e] (0) Clarify that <video> and <audio> can both be used for both audio and video.

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 20 13:44:25 PDT 2011


Author: ianh
Date: 2011-04-20 13:44:23 -0700 (Wed, 20 Apr 2011)
New Revision: 6020

Modified:
   complete.html
   index
   source
Log:
[e] (0) Clarify that <video> and <audio> can both be used for both audio and video.

Modified: complete.html
===================================================================
--- complete.html	2011-04-20 00:50:57 UTC (rev 6019)
+++ complete.html	2011-04-20 20:44:23 UTC (rev 6020)
@@ -25167,7 +25167,7 @@
 };</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 @@
   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>

Modified: index
===================================================================
--- index	2011-04-20 00:50:57 UTC (rev 6019)
+++ index	2011-04-20 20:44:23 UTC (rev 6020)
@@ -25179,7 +25179,7 @@
 };</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 @@
   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>

Modified: source
===================================================================
--- source	2011-04-20 00:50:57 UTC (rev 6019)
+++ source	2011-04-20 20:44:23 UTC (rev 6020)
@@ -27148,7 +27148,7 @@
   </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 @@
   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>




More information about the Commit-Watchers mailing list