2 - Work around iOS 7 MOV file size reporting bug #1039
Comments
I personally have an other error. |
Looks like you posted a similar issue on stackoverflow. What build of iOS8? |
The last IOS 8 (GM), and actually all the other beta of IOS8 ... |
I didn't see this issue in beta 5. Looking at the GM now. What device? |
Hmm weird ... |
Not able to reproduce on the iOS8 GM simulator. In fact, looks like apple may have fixed #1269. I'm going to try GM on an iPad shortly. |
...what version of Fine Uploader are you running? |
I'm running version 5.0.2. |
Just tested the iOS8 GM simulator against 5.0.5 and fineuploader.com/demos (which is running 5.0.2) - not seeing any issues in Safari. I'll let you know when I verify on an actual device. |
I tested with an iPhone 4, IOS7, and it works ... |
Hmm, an iPad running iOS8 GM is indeed having this issue. Not sure why the simulator works just fine. I'll have to investigate further. |
hmm it's annoying ... |
Looks like Safari in iOS8 is completely busted for ajax file uploads. This doesn't seem to only affect Fine Uploader. And I am so far unable to hook up the web inspector in my desktop safari to my iPad running iOS8. |
Ok |
Looks like the file input element is totally busted in iOS8 safari. I can't even upload a file with a simple form submit. Chrome works, but I'm also seeing Chrome crash after clicking the choose files button if the |
...sorry, I mean that Chrome crashes if the multiple attribute is NOT present. This happens after I click on the file input and then choose either "Choose Existing" or "Take Photo or Video". |
Yeah, file input element seems busted in Safari IOS8. even in a simple form (no js) ... |
As described in #990, iOS 7 reports MOV files as 0-sized when the associated file input element includes the
multiple
attribute. It doesn't look like Apple is particularly interested in fixing this bug. So, it seems we will need to properly work around this internally.The manual workaround for integrators is to set Fine Uploader's
multiple
option tofalse
. This fixes the issue, but has a potentially undesired consequence. Fine Uploader'smultiple
option not omits sets the file input element'smultiple
attribute, it also only allows one file to be uploaded. That is, if a file is in progress, and another file is selected, the in-progress file will be cancelled and the newly selected file will be uploaded instead. If a file has recently completed, and a new file is selected, the new file will replace the older file in the UI as well. Note there is a bug in the code that only cancels the in-progress upload if themultiple
option isfalse
in Fine Uploader UI only. This should probably be fixed in a separate bug report.The internal workaround for this issue will be to omit the file input element's
multiple
attribute if thevalidation.allowedExtensions
value is any empty array, or if it contains an entry for ".mov" files AND the current OS is iOS 7.The text was updated successfully, but these errors were encountered: