<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>12529</bug_id>
          
          <creation_ts>2011-04-20 08:27:53 +0000</creation_ts>
          <short_desc>&lt;video&gt; Fix HAVE_METADATA and HAVE_CURRENT_DATA when seeking and at playback end</short_desc>
          <delta_ts>2011-08-04 05:14:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>LC1 HTML5 spec</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-ready-states</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>silviapfeiffer1</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>47568</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-04-20 08:27:53 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-ready-states

Comment:
Fix HAVE_METADATA and HAVE_CURRENT_DATA when seeking and at playback end

Posted from: 83.218.67.122
User agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.131 Version/11.10</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47569</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-04-20 08:33:58 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-html/2011Feb/0441.html
http://lists.w3.org/Archives/Public/public-html/2011Feb/0451.html

Based on this discussion, some spec changes are in order.

On Fri, 25 Feb 2011 22:45:16 +0100, Philip Jägenstedt &lt;philipj@opera.com&gt; wrote:

&gt; Suggestion:
&gt;
&gt; * buffered ranges are inclusive
&gt; * whenever currentTime is not in one of the ranges, readyState &lt;=  
&gt; HAVE_METADATA
&gt; * when currentTime is in one of the ranges, readyState &gt;=  
&gt; HAVE_CURRENT_DATA
&gt; * no special casing of EOS
&gt;
&gt; This would mean that readyState would never go back to HAVE_METADATA  
&gt; during normal playback, only when first loading the resource and when  
&gt; seeking to an unbuffered position. At least to me, this seems consistent  
&gt; and logical.

On Sat, 26 Feb 2011 14:46:50 +0100, Philip Jägenstedt &lt;philipj@opera.com&gt; wrote:

&gt; I&apos;d much prefer if we kept the theoretical model and definitions simple  
&gt; by not assuming that there&apos;s such a thing as an imaginary epsilon  
&gt; differentiating two times that are indistinguishable both to the browser  
&gt; internals and via the DOM API.

The definition of &quot;potentially playing&quot; might need readjusting as well, as it was changed during that discussion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51084</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-07-14 23:55:24 +0000</bug_when>
    <thetext>Wasn&apos;t this all fixed already?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51194</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2011-07-18 08:55:18 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Wasn&apos;t this all fixed already?

Yes:

http://html5.org/r/6177
http://html5.org/r/6178
http://html5.org/r/6179
http://html5.org/r/6180</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53534</commentid>
    <comment_count>4</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2011-08-04 05:14:49 +0000</bug_when>
    <thetext>mass-move component to LC1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>