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).
I found this question, with a lot of helpful information: Using local file for Web Audio API in Javascript However, the Base64 method would make the playlist too big, and the other solution creates a sandboxed file link (which are deleted from the browser when the session is closed).
Is there any good way to do this?
EDIT: Here's an example of what I want:
var playlist = {'file:///home/user/music/track1.mp3','file:///home/user/music/track2.mp3','file:///home/user/music/track3.mp3'};
It doesn't have to look like this, i just want something similar.