[
https://issues.apache.org/jira/browse/CB-2826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13625997#comment-13625997
]
Joe Meeks commented on CB-2826:
-------------------------------
Shazron, here is an example of the bug described. The upload endpoint for this
example is my personal site on a GoDaddy shared hosting account so videos
captured from iOS devices that are longer than 4 seconds or so tend to time
out. The production version of this code in my company's iOS app compiled with
PhoneGap Build only sends 0 byte files for selected video (images upload fine)
in webviews on iOS 6.1.2 and 6.1.3 (iOS 6.0 and 6.0.1 are fine).
https://github.com/JoeMeeks/PhoneGapHtml5Upload
> iOS 6.1.2 & 6.1.3 input type="file" with
> -----------------------------------------
>
> Key: CB-2826
> URL: https://issues.apache.org/jira/browse/CB-2826
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.3.0
> Environment: PhoneGap Build compiled with Cordova 2.3.0 on iOS 6.1.2
> and 6.1.3
> Reporter: Joe Meeks
> Assignee: Shazron Abdullah
> Priority: Blocker
>
> My app is compiled with PhoneGap Build using Cordova 2.3.0. The following
> file input html5 tag works fine for video and image uploads on iOS 6.0.1 in a
> PhoneGap web view. However on iOS 6.1.2 and 6.1.3 after selecting a video a 0
> byte video is uploaded in a PhoneGap web view but video uploads work fine in
> Mobile Safari. It seems to me to be an issue with Cordova handling videos on
> the latest iOS versions although images continue to work fine.
> <input id="fiMedia" type="file" accept="image/*, video/*" multiple
> onchange="mediaUpload(this)" />
> I am aware that the next update for PhoneGap Build will support Cordova 2.5.0
> and thus html5 file input tags for Android (which is fantastic) but might
> this recent iOS version bug be addressed too?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira