Re: File descriptors

On 10/4/10 7:09 AM, lmarcetic@foi.hr wrote:
>   * read local files,
>   * show them in web documents, and
>   * manipulate them
>
> FileAPI does the first thing, and partly the third one. The problem is
> that it, as I understand it, loads the complete file into memory
> (readAsBinaryString) which is inconvenient for big files, such as video.

http://dev.w3.org/2006/webapi/FileAPI/#url does what you want, right? 
You can experiment with this in Firefox 4 following the documentation at 
https://developer.mozilla.org/en/DOM/window.createBlobURL

-Boris

Received on Tuesday, 5 October 2010 02:15:41 UTC