I have created a custom field for upload video configuration is
– Type is file
– An allowed extension is only “MP4”
– Size is min 1MB and max 50MB.
– Library “Uploaded to Post”
While uploading the new video file it’s validating size and file format also but in the Media popup, it’s showing all media of the current post. I mean it’s showing everything image, video, and other files.
I want to filter the media upload popup only show the videos which I mentioned in Allowed extension “MP4”.
Is there any way to filter media attachment which is mentioned in the File type filed Allowed Extension?
I also want to implement it on the frontend with ACF field form.