cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo van Haaren (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-12664) iOS 10.3.1 break input file videos with forced multiple select
Date Mon, 19 Jun 2017 14:17:00 GMT

    [ https://issues.apache.org/jira/browse/CB-12664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054067#comment-16054067
] 

Hugo van Haaren edited comment on CB-12664 at 6/19/17 2:16 PM:
---------------------------------------------------------------

test project to reproduce input type='file' video issues in ios 10.3.1 Run this app on a device
with ios 10.3.1 (the 10.3 simulators work fine)

issue 1: input element has no multiple attribute but the device opens the photo library allowing
multiple selection
issue 2: when selecting one or more videos in this multiple select mode the file cannot be
accessed from javascript, file.size = 0 and writing to a file gives an error 1 NOT_FOUND

NOTE: multiple images work fine, capturing one video also works fine

Desired behaviour: input type='file' should listen to multiple attribute correctly and selecting
videos should work in both single and multiple select mode 


was (Author: hvhaaren):
test project to reproduce input type='file' video issues in ios 10.3.2 Run this app on a device
with ios 10.3.2 (the 10.3 simulators work fine)

issue 1: input element has no multiple attribute but the device opens the photo library allowing
multiple selection
issue 2: when selecting one or more videos in this multiple select mode the file cannot be
accessed from javascript, file.size = 0 and writing to a file gives an error 1 NOT_FOUND

NOTE: multiple images work fine, capturing one video also works fine

Desired behaviour: input type='file' should listen to multiple attribute correctly and selecting
videos should work in both single and multiple select mode 

> iOS 10.3.1 break input file videos with forced multiple select
> --------------------------------------------------------------
>
>                 Key: CB-12664
>                 URL: https://issues.apache.org/jira/browse/CB-12664
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>         Environment: phonegap build, iOS 10.3.1, iPhone 6S
>            Reporter: meir
>              Labels: critical, ios
>         Attachments: CB12664.zip
>
>
> Inputs cannot access video files because multiple file select is forced and videos are
no longer being compressed before being selected. 
> To test:
> - put a file input in any cordova demo application, 
> - select a video file (you will see multiple file select is forced)
> - try access the file to check the size or get the content: size is 0, no content.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message