file input size issue in safari for multiple file selection

后端 未结 4 1517
广开言路
广开言路 2020-12-10 04:50

I am experiencing inconsistencies with regard to multiple file upload in Safari 5.1 on Windows Vista (haven\'t tried other platforms). The input element has the multi

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-10 05:35

    A variation of this issue also seems to have infected mobile Safari on iOS 7, which just released. If you have a "multiple" file input field, and select a video, then the File API returns a file size of 0. Indeed the jsfiddle at the top of this page, reproduces this.

    Selecting one or more photos with the "multiple" option is fine - this only affects videos.

提交回复
热议问题