|  |      1binux      2012-12-18 18:02:23 +08:00 你是不是误解了什么,要么就是我误解了什么 | 
|  |      3honk      2012-12-18 18:13:09 +08:00 appcache 理論上可以,但瀏覽器多有限制 | 
|  |      4deepure      2012-12-18 19:58:10 +08:00  1 你是说离线观看已下载吧,离线下载观看不能理解。 就是离线观看已下载也没啥意义,浏览器对缓存大小有限制 | 
|  |      6sdjl OP 不要抠文字嘛~~  意思就是浏览器不会允许下载大文件? 还是不允许下载视频文件? 如果是对大小有限制的话,一般有多少m? | 
|  |      7sun391      2012-12-18 23:00:25 +08:00 我记得是5M还是2M来着,具体忘记了 10年的时候我也有这想法,尝试了过一次 | 
|  |      8binux      2012-12-18 23:03:57 +08:00  1 @sdjl localStorage是 2.5 MB per origin in Google Chrome; 5 MB per origin in Mozilla Firefox, and Opera; 10 MB per storage area in Internet Explorer http://stackoverflow.com/questions/2989284/what-is-the-max-size-of-localstorage-values AppCache没有规定大小,但是差不多也在5M的样子,如果你能把视频做到这个大小的话,那么是可以离线播放的。 http://grinninggecko.com/developing-cross-platform-html5-offline-app-1/ | 
|  |      10chrisyipw      2012-12-19 01:45:05 +08:00 一个想法:把视频转换成 base64 字符串,分段储存;播放时组合起来,用 data URI 形式加载。 | 
|  |      11iwege      2012-12-19 18:37:22 +08:00 filesystem. over. |