title: Storing and playing local files with JavaScript and HTML5 Audio
body: <p>I am working on a media player, and I want to be able to queue local files in an array, play it, and even export it as a playlist (for later import).</p>
  
  <p>I found this question, with a lot of helpful information:
  <a href="https://stackoverflow.com/questions/14074833/using-local-file-for-web-audio-api-in-javascript">Using local file for Web Audio API in Javascript</a>
  However, the Base64 method would make the playlist too big, and the <a href="https://stackoverflow.com/questions/14074833/using-local-file-for-web-audio-api-in-javascript/18083202#18083202">other</a> solution creates a sandboxed file link (which are deleted from the browser when the session is closed).</p>
  
  <p>Is there any good way to do this?</p>
  
  <p>EDIT: Here's an example of what I want:</p>
  
  <pre><code>var playlist = {'file:///home/user/music/track1.mp3','file:///home/user/music/track2.mp3','file:///home/user/music/track3.mp3'};
  </code></pre>
  
  <p>It doesn't have to look like this, i just want something similar.</p>