I have a mobile site; until a few month ago when my site users wanted to upload a video device asked: “From gallery or you record video”?.
After a system update, device upload videos only from the video gallery. Now my site users have to record video and then they can upload it from the video gallery.
Is it possible return to the old situation?
NB: I’m using Filepond libary
my code:
const input = document.querySelector(“#filePondInput”);
filePondInstance = FilePond.create(input, {
acceptedFileTypes: ["video/*"],
allowMultiple: false,
allowReorder: true,
chunkSize: Constant.FILEPOND_CHUNK_SIZE,
chunkUploads: true,
credits: false,
imagePreviewMaxHeight: 100,
instantUpload: false,
labelFileTypeNotAllowed: "Tipo di file non permesso",
labelMaxFileSize: "Dimensione max: {filesize}",
labelMaxFileSizeExceeded: "File troppo grande",
labelMaxTotalFileSize: "Dimensione max: {filesize}",
labelMaxTotalFileSizeExceeded: "Superata dim. totale",
captureMethod: "user",
// maxFiles: 6,
// maxFileSize: "1MB",
// maxTotalFileSize: "7MB",
server: App.BACKEND_URL + "videoUpload",
storeAsFile: true,
});
I tried to change
- captureMethod: “user” in environment and
- the attribute capture=”user” in capture=”environment”
lucaninci is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.