Entering HTML file with multiple selections in UIWebView does not work for video

I'm having trouble creating a download form packaged as a native iOS app using UIWebView (Cordova). The problem is that when you select a video in an element that allows multiple selection. Unlike when only one selection is possible, the selected videos are not “compressed”. pre-processed and thus in a limited way.

When trying to read such a video selected from a photo library using FileReader, the onerror function throws a "ProgressEvent" from "FileReader" with the following "FileError" with the code "1", which means "NOT_FOUND_ERR".

However, it works great in a regular web view of an iOS web browser.

I sent a bug report to Apple.

Also, this problem is very similar to the previous problem where the video selected in the same way has a zero size.

+3
source share
1 answer

The only solution I found was to skip the multiple option for iOS UIWebView, which is just a bad solution.

+1
source

Source: https://habr.com/ru/post/1674947/


All Articles