SOLVED: Audio file (m4a) doesn't upload to WP Media via Form Upload

Browser: Chromium-based browsers (latest)
OS: Windows 11
URL: N/A (client site - see images below)
Video: N/A (client site - see images below)

When uploading files via the forms element, the m4a file format does not work.

This is despite it being allowed in WP itself (able to directly upload m4a’s via the Media library without issue).

Process:

  1. Add form element
  2. Enable file upload field
  3. Add in allowed file formats (m4a,mp3,wav)
  4. Configure max files to 1, max size to 10mb, save in media library
  5. Configure remaining fields & actions (eg, email, name, hCaptcha,etc)
  6. Save and open on front end
  7. Attempt to upload mp3/wav = success (success message + can see file in media library)
  8. Attempt to upload m4a = error (msg = “Uploaded file type is not allowed”) + no file in media library

:backhand_index_pointing_right: Note, this is similar to a previous post, which was marked as solved.

Related images

Hi @arbeetester,

can you send over the audio files so I can check on them directly? You can send it to help@bricksbuilder.io using the email address you used during the purchase and a link to this topic.

Thank you,
Matej

Thanks @Matej - I’ve sent that now.

Hi @arbeetester,

Thank you for the files that you sent. I was able to replicate the issue with your files and I created a new internal task for us to fix it.

Once the issue is fixed, we will update this topic.

Thank you,
Matej

1 Like

We’ve addressed this in Bricks 2.3.2, now available as a one-click update in your WordPress Dashboard.

Please read the changelog entry before updating, and let us know if you experience any issues.