title: HTML5 Audio Element " src = get.php cannot skip position
body: <p>I am using the HTML5 AudioElement to play my .mp3 files, but I noticed it is not possible to skip the position. I am fetching the file via PHP from outside the www root.</p>
  
  <p>I am using HTML code :</p>
  
  <pre><code>&lt;audio src="" controls id="appAudio" style="width:1000px;margin-top:10px"&gt;&lt;/audio&gt;
  </code></pre>
  
  <p>JavaScript code:</p>
  
  <pre><code>document.getElementById('appAudio').src= 'http://localhost/index.php/player/get_audio_via_php/1';
  </code></pre>
  
  <p>PHP code:</p>
  
  <pre><code>    $file = "/myfolder/1.mp3";
      header('Content-Type: audio/mpeg');
      header('Content-Length: ' . filesize($file));
  
      return file_get_contents($file);
  </code></pre>
  
  <p>Like I said it does play the audio file, but skipping position is not possible.
  Is there a solution to this? </p>
  
  <p>Thank you</p>