开发者

How to download binary/video files from html5 Storage or JQuery using Local Storage

I have been reading so much articles about JQuery, html5 LocalStorage but I could not get what I want yet.

This is my doubt: I have some url that are part of a video (the format does not matter) and I would like to download those files as cookies or as temporally files, it does not matter if they are save as binary file, or movie file.

I know that is possible to download string a开发者_开发知识库nd save it as cookies. But, how can I do this?

I have also been looking at JQuery lib, but I could not do it yet.

Any help would be appreciate.

My best regards, Antonio


I know this is really old but I was looking up the answer to this question myself and found this out:

HTML5 storage does not allow you to store binary data. So if you wanted to store a video you would need to encode the entire video into Base64 and then store it as text.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜