Link to home
Start Free TrialLog in
Avatar of Mik Mak
Mik Mak

asked on

Javascript limit upload mediatype

I'm looking for the JavaScript code to limit the upload mediatype when running on an Android, so that video/mic etc is not shown as possible upload types ?

We're using

acceptFileTypes: /(.|\/)(gif|jpe?g|png|bmp|ico)$/i

but are still getting viceo/mic options on the upload screen
2016-10-07-09.27.27.png
Avatar of leakim971
leakim971
Flag of Guadeloupe image

why do you want to stop the user to pick a photo from its camera ?
I don't see the mic on your screen capture.
ASKER CERTIFIED SOLUTION
Avatar of Mik Mak
Mik Mak

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ok so if everything is alright, please close your question, thanks.
you can accept your own comment as solution
Avatar of Mik Mak
Mik Mak

ASKER

Found a solution - no alternatives suggested