HTML5 and huge local storage of downloaded files

Go To StackoverFlow.com

-1

I'm choosing a platform for distributed MP3 player. Its basic functionality will be:

  • authenticate itself and query central server (through HTTP request to asmx web service)
  • get list of approved MP3s in some JSON
  • download those MP3s to local disc
  • play downloaded files (not stream, player must work also without temporary connection to server)

I'm thinking about HTML5 based player. But I'm not sure about new HTML5's File object capatibilities. Is possible to download and store huge (GBs) amount of mp3 data to local disc and access it purely in HTML5/js?

Didn't I miss something? Are there some other gaps? Customer need as multi-platform player as possible, so quick work in WPF C# is last choice.

2012-04-05 17:43
by Plachow
possible duplicate of HTML5 localStorage restrictions and limitsNoName 2012-04-05 17:46


0

I would look into the HTML5 File API, or a chrome extension (Allows infinite store with Web SQL DBs).

The file API spec is here:

http://dev.w3.org/2009/dap/file-system/pub/FileSystem/

Basically all other storage mechanisms have a hard limit on most browsers, even though Web SQL is spec'd to allow you to specify max db size in your app.

2012-04-05 21:09
by Colin Godsey
Ads