Using JavaScript to read files stored on a user's computer
<p>I'm building a website which has a music player that can currently play files stored on the server. I'm using soundManager2 to play the files. </p>

<p>What I would like to do is have the player also play files stored on a user's computer, which may not be possible and will probably hit security risks if it is.</p>

<p>This is a bit of the code I use to plays the files:</p>

<pre><code>currentTrack = soundManager.createSound({
id: "Track",
url: file_location+".mp3",
});
</code></pre>

<p>Then soundManager2 does its magic. As the location of the file is a variable, I was hoping that if a user were to specify the location of an mp3 on their computer it could be put into the variable and played in soundManager, in the same way it finds files on our server and plays them. My thinking is that as soundManager uses javascript and flash, or HTML5 it's all client side so there wouldn't be any security issues and it could just be 'streamed' from their computer without any strain on our bandwidth.</p>

<p>How can this be done?</p>
