[html5] r1632 - /

whatwg at whatwg.org whatwg at whatwg.org
Thu May 15 01:47:57 PDT 2008


Author: ianh
Date: 2008-05-15 01:47:57 -0700 (Thu, 15 May 2008)
New Revision: 1632

Modified:
   index
   source
Log:
[gow] (2) video.bufferingThrottled support (based on feedback from Google Video)

Modified: index
===================================================================
--- index	2008-05-15 08:30:58 UTC (rev 1631)
+++ index	2008-05-15 08:47:57 UTC (rev 1632)
@@ -15381,6 +15381,7 @@
   const unsigned short <a href="#loaded" title=dom-media-LOADED>LOADED</a> = 4;
   readonly attribute unsigned short <a href="#networkstate" title=dom-media-networkState>networkState</a>;
   readonly attribute float <a href="#bufferingrate" title=dom-media-bufferingRate>bufferingRate</a>;
+  readonly attribute boolean <a href="#bufferingthrottled" title=dom-media-bufferingThrottled>bufferingThrottled</a>;
   readonly attribute <a href="#timeranges">TimeRanges</a> <a href="#buffered" title=dom-media-buffered>buffered</a>;
   readonly attribute <a href="#byteranges">ByteRanges</a> <a href="#bufferedbytes" title=dom-media-bufferedBytes>bufferedBytes</a>;
   readonly attribute unsigned long <a href="#totalbytes" title=dom-media-totalBytes>totalBytes</a>;
@@ -16093,6 +16094,12 @@
    download over the past few seconds. If there is no download in progress,
    the attribute must return 0.
 
+  <p>The <dfn id=bufferingthrottled
+   title=dom-media-bufferingThrottled><code>bufferingThrottled</code></dfn>
+   attribute must return true if the user agent is intentionally throttling
+   the bandwidth used by the download (including when throttling to zero to
+   pause the download altogether), and false otherwise.
+
   <p>The <dfn id=buffered
    title=dom-media-buffered><code>buffered</code></dfn> attribute must return
    a static <a href="#normalised">normalised <code>TimeRanges</code>

Modified: source
===================================================================
--- source	2008-05-15 08:30:58 UTC (rev 1631)
+++ source	2008-05-15 08:47:57 UTC (rev 1632)
@@ -13326,6 +13326,7 @@
   const unsigned short <span title="dom-media-LOADED">LOADED</span> = 4;
   readonly attribute unsigned short <span title="dom-media-networkState">networkState</span>;
   readonly attribute float <span title="dom-media-bufferingRate">bufferingRate</span>;
+  readonly attribute boolean <span title="dom-media-bufferingThrottled">bufferingThrottled</span>;
   readonly attribute <span>TimeRanges</span> <span title="dom-media-buffered">buffered</span>;
   readonly attribute <span>ByteRanges</span> <span title="dom-media-bufferedBytes">bufferedBytes</span>;
   readonly attribute unsigned long <span title="dom-media-totalBytes">totalBytes</span>;
@@ -14043,6 +14044,13 @@
   for the current download over the past few seconds. If there is no
   download in progress, the attribute must return 0.</p>
 
+  <p>The <dfn
+  title="dom-media-bufferingThrottled"><code>bufferingThrottled</code></dfn>
+  attribute must return true if the user agent is intentionally
+  throttling the bandwidth used by the download (including when
+  throttling to zero to pause the download altogether), and false
+  otherwise.</p>
+
   <p>The <dfn title="dom-media-buffered"><code>buffered</code></dfn>
   attribute must return a static <span>normalised
   <code>TimeRanges</code> object</span> that represents the ranges of




More information about the Commit-Watchers mailing list