title: Chrome can't fast forward, Firefox can. Display MP4 file with PHP
body: <p>I am using video/mp4 and I can't skip seconds. Kind of like Chrome doesn't know the file size.</p>
  
  <pre><code>$local_file
  </code></pre>
  
  <p>This var contains a relative link to the file. The link is correct.</p>
  
  <pre><code>header('Content-Description: File Transfer');
  header('Content-Type: application/octet-stream');
  header('Content-Disposition: attachment; filename=dynamicMediaContent');
  header('Expires: 0');
  header('Cache-Control: must-revalidate');
  header('Pragma: public');
  header("Content-Type: $format");
  header("Accept-Ranges: 0-".filesize($local_file));
  header("Content-Length: ".filesize($local_file));
  readfile($local_file);
  </code></pre>
  
  <p>Firefox is able to fast forward.</p>
  
  <p>Chrome also can't read the duration of the video. Firefox can.</p>