I'd like to add a second upload button that exclusively invokes the camera on an iOS device.
Per the recent blog post I understand this can be done using the addFiles()
method. However my project is currently using the JQuery version of FineUploader.
Can I access addFiles()
from the JQuery version or should I switch to the Vanilla JS version?
You can access any API methods when using the jQuery plug-in. Using addFiles
as an example:
$('#myUploader').fineUploader('addFiles', filesOrInputs);
filesOrInputs
can be a File
, an <input type="file">
or an array (or array-like structure) of either.
See the "Using the jQuery plug-in" readme or the for more details.