[html5] r3525 - [e] (0) elaborate on the note-to-self about video activation behaviour

whatwg at whatwg.org whatwg at whatwg.org
Sun Aug 2 03:21:51 PDT 2009


Author: ianh
Date: 2009-08-02 03:21:50 -0700 (Sun, 02 Aug 2009)
New Revision: 3525

Modified:
   index
   source
Log:
[e] (0) elaborate on the note-to-self about video activation behaviour

Modified: index
===================================================================
--- index	2009-08-02 10:05:32 UTC (rev 3524)
+++ index	2009-08-02 10:21:50 UTC (rev 3525)
@@ -19960,8 +19960,19 @@
   is available; otherwise it is 150 CSS pixels.</p>
 
   <hr><!-- XXX (awaiting more impl experience)
-   default activation behavior is to do the play() if paused, pause()
-   otherwise
+   Make the default activation behavior be to do the play() if paused,
+   pause() otherwise?
+   The implementation experience that I am awaiting is basically, does
+   the above make sense? It would mean that the author could bind an
+   access key to the play/pause behaviour, but is that really useful,
+   when the author can just script the whole control if desired? It
+   would mean that if the author called .click() on the element, it
+   would play/pause the element, as well as firing an event. It would
+   also mean that while every other control could be controlled by the
+   user agent (when controls="" is set) and the author (via script),
+   clicking anywhere on the video, whether the element had a
+   controls="" attribute or not, would always play/pause the video.
+   It would also prevent putting a <video> in a link.
   --><p>User agents should provide controls to enable or disable the
   display of closed captions associated with the video stream, though
   such features should, again, not interfere with the page's normal

Modified: source
===================================================================
--- source	2009-08-02 10:05:32 UTC (rev 3524)
+++ source	2009-08-02 10:21:50 UTC (rev 3525)
@@ -21384,8 +21384,19 @@
   <hr>
 
   <!-- XXX (awaiting more impl experience)
-   default activation behavior is to do the play() if paused, pause()
-   otherwise
+   Make the default activation behavior be to do the play() if paused,
+   pause() otherwise?
+   The implementation experience that I am awaiting is basically, does
+   the above make sense? It would mean that the author could bind an
+   access key to the play/pause behaviour, but is that really useful,
+   when the author can just script the whole control if desired? It
+   would mean that if the author called .click() on the element, it
+   would play/pause the element, as well as firing an event. It would
+   also mean that while every other control could be controlled by the
+   user agent (when controls="" is set) and the author (via script),
+   clicking anywhere on the video, whether the element had a
+   controls="" attribute or not, would always play/pause the video.
+   It would also prevent putting a <video> in a link.
   -->
 
   <p>User agents should provide controls to enable or disable the




More information about the Commit-Watchers mailing list