<?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>18635</bug_id>
          
          <creation_ts>2012-08-21 09:51:42 +0000</creation_ts>
          <short_desc>HTMLMediaElement seeking algorithm integration</short_desc>
          <delta_ts>2012-10-12 12:00:39 +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>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Jägenstedt">philipj</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>acolwell</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</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>72477</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-08-21 09:51:42 +0000</bug_when>
    <thetext>http://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html#mediasource-seeking
http://dev.w3.org/html5/spec/media-elements.html#dom-media-seek

MSE hooks in to the HTMLMediaElement by saying &quot;The media element seeking algorithm starts and has reached the stage where it is about to fire the seeking event.&quot; HTML&apos;s step 8 says &quot;Queue a task to fire a simple event named seeking at the element.&quot; MSE doesn&apos;t say if its steps should be run before the event is queued or before it is actually fired, but the intention is clearly to insert steps before step 8.

Since MSE replaces the network layer, it would make more sense to hook in to step 9: &quot;Set the current playback position to the given new playback position.&quot; This is the step of the HTMLMediaElement seek algorithm where the media framework underlying HTMLMediaElement will be notified and begin to fetch the required data, so it is where MSE would come into play.

Suggestion: Specify that the steps of MSE run as part of step 9, or between step 9 and 10. This would make more sense in Opera&apos;s layering, and the only observable difference is the order of the seeking and sourceopen events.

Finally, note that MSE points to #dom-media-seeking instead of #dom-media-seek, almost certainly a typo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75616</commentid>
    <comment_count>1</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2012-10-08 19:48:32 +0000</bug_when>
    <thetext>Changes committed:
http://dvcs.w3.org/hg/html-media/rev/c3de559a1c37</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76089</commentid>
    <comment_count>2</comment_count>
    <who name="Philip Jägenstedt">philipj</who>
    <bug_when>2012-10-12 12:00:39 +0000</bug_when>
    <thetext>Looks good, now part of step 10 of the HTMLMediaElement seek algorithm.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>