I'm implementing in the cloudinary widget the `clientAllowedFormats` parameter to restrict the user to upload images, I'd like to let the user upload media with only the format gif, mp4 and mov. For this, I'm adding in the widget creation the clientAllowedFormats parameter like this:
This is working fine from the local source but, from other sources such as google drive or facebook, it is letting me upload png/jpg images.
If I add the `resourceType` parameter like this: `resourceType: 'video'` it only let me upload videos (as expected) but, it's not letting me upload gifs as I added in the clientAllowedFormats parameter.
What am I doing wrong here?
Thanks in advance for any help.
Please sign in to leave a comment.