title: can't seek html5 video or audio in chrome
body: <p>I've been fiddling with the hell that is HTML5 video/audio for a couple of weeks now. Usually the reason why something failed popped up after a while, but I've been, unable to find why I get forwarding and rewinding problems in chrome.</p>
  
  <p>Anyhow...</p>
  
  <p>The video or audio tag is being loaded in an extjs panel when a video or audio file is requested. The files are sent as streams and they work fine in IE and firefox (after adding duration to the response header)
  There's an issue with safari, but it's apparently the fact that the whole site runs in HTTPS (that's being worked on right now).</p>
  
  <p>In chrome (which is my issue and is at the latest version) the video and audio loads just fine, but I'm unable to rewind or forward. When trying to seek videos just go ahead a few seconds until it reaches the end of the stream.  the audio also plays just fine but trying to rewind (or forward) multiple times simply breaks the progress bar and stops the audio from playing on.</p>
  
  <p>I'm not entirely sure what's being sent from the server, but I'm wondering if this might be caused by missing data in the response. If it's not that anything else to point me towards a fix is just as welcome. I think I've covered pretty much the whole set up and I've made sure that there's a source tag for each browser. </p>
  
  <p><strong>edit:</strong> this is the code generated by the javascript for one of the files:</p>
  
  <pre><code>&lt;video width="1889" height="2" preload="auto" autoplay="1" controls="1" id="videoPlayer" style="width: 1889px; height: 233px; "&gt;
  &lt;source src="http://localhost:8080/epaServer/epa/documents/496.ds_webm?sessionId=5616fde4-50af-43d6-a57c-f06540b64fcb" type="video/webm"&gt;
  &lt;source src="http://localhost:8080/epaServer/epa/documents/496.ds_mp4?sessionId=5616fde4-50af-43d6-a57c-f06540b64fcb" type="video/mp4"&gt;
  &lt;div&gt;Your browser doesn't support html5 video. &lt;a&gt;Upgrade Chrome&lt;/a&gt;&lt;/div&gt;
  &lt;/video&gt;
  </code></pre>
  
  <p>I've also found that I can't seek any of the files even if I open them separately from the application.</p>
  
  <p>I've tried to find more info on my own these are the headers chrome shows in the network tab:</p>
  
  <blockquote>
    <p>Request URL:https://localhost:8443/epaServer/epa/documents/496.ds_webm?sessionId=5616fde4-50af-43d6-a57c-f06540b64fcb</p>
    
    <p>Request Method:GET</p>
    
    <p>Status Code:200 OK</p>
    
    <p><strong>Request Headers</strong></p>
    
    <p>Accept:<em>/</em>
    Accept-Charset:ISO-8859-1,utf-8;q=0.7,*;q=0.3</p>
    
    <p>Accept-Encoding:identity;q=1, *;q=0</p>
    
    <p>Accept-Language:en-US,en;q=0.8</p>
    
    <p>Connection:keep-alive</p>
    
    <p>Cookie:sessionId=5616fde4-50af-43d6-a57c-f06540b64fcb</p>
    
    <p>Host:localhost:8443</p>
    
    <p>User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19</p>
    
    <p>Query String Parametersview URL encoded</p>
    
    <p>sessionId:5616fde4-50af-43d6-a57c-f06540b64fcb</p>
    
    <p><strong>Response Headers</strong></p>
    
    <p>Cache-Control:private</p>
    
    <p>Content-Length:1588816</p>
    
    <p>Content-Type:video/webm</p>
    
    <p>Date:Mon, 14 May 2012 14:23:02 GMT</p>
    
    <p>Expires:Thu, 01 Jan 1970 01:00:00 CET</p>
    
    <p>Server:Apache-Coyote/1.1</p>
    
    <p>X-Content-Duration:17.31</p>
  </blockquote>
  
  <p>></p>