<?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>28929</bug_id>
          
          <creation_ts>2015-07-09 09:37:42 +0000</creation_ts>
          <short_desc>Setting video.currentTime (seeking) should synchronously update the attribute&apos;s value</short_desc>
          <delta_ts>2019-03-29 20:50:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#dom-media-seek</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Philip Jägenstedt">philip</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>eric.carlson</cc>
    
    <cc>mike</cc>
    
    <cc>philipj</cc>
    
    <cc>roc</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>121903</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2015-07-09 09:37:42 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#dom-media-seek
Complete: https://html.spec.whatwg.org/#dom-media-seek
Referrer: https://codereview.chromium.org/1013923002/diff/140001/public/platform/WebSourceBuffer.h

Comment:
Setting video.currentTime (seeking) should synchronously update the
attribute&apos;s value

Posted from: 212.116.72.179
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2398.0 Safari/537.36 OPR/31.0.1876.0 (Edition developer)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>121904</commentid>
    <comment_count>1</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2015-07-09 09:43:30 +0000</bug_when>
    <thetext>There&apos;s a discrepancy between the spec and implementations that I think is unlikely to be resolved in favor of the spec.

https://html.spec.whatwg.org/#dom-media-seek returns early and the only effect that can be observed synchronously is that the seeking attribute is true.

I&apos;ve tested Chromium, Firefox and IE, and all of them synchronously change the currentTime attribute:
http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3562

I think the spec should do the same. Either by someone reusing &quot;official playback position&quot; for this purpose, or by introducing a separate &quot;seek position&quot; or similar.

The main problem with the spec as it is is that it makes it harder to write a good UI where seeking look like it has an immediate effect, even if currentTime may be slightly adjusted when the seek has actually finished.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129685</commentid>
    <comment_count>2</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2019-03-29 20:50:01 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/4477</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>