Make WordPress Core

#57530 closed defect (bug) (duplicate)

m4a audio files not allowed from android audio recorder

Reported by: pontifier's profile pontifier Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Upload Keywords:
Focuses: Cc:

Description

Android audio recorder is a default option when adding an audio file to a post from chrome on android. m4a files created by recorder are rejected with the message: "Sorry, you are not allowed to upload this file type."

It appears that an incorrect mime type is responsible. The mime type generated by the android recorder is 'video/mp4' while functions.php expects an 'audio/mpeg' and moxie.js expects 'audio/x-m4a'

Attachments (2)

Monday at 2-57 AM.m4a (27.6 KB) - added by pontifier 20 months ago.
test upload file from android audio recorder
Screenshot_20230123-032755.png (512.1 KB) - added by pontifier 20 months ago.
screenshot of an error during upload

Download all attachments as: .zip

Change History (3)

@pontifier
20 months ago

test upload file from android audio recorder

@pontifier
20 months ago

screenshot of an error during upload

#1 @ironprogrammer
20 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
  • Version 6.1.1 deleted

Welcome to Trac, @pontifier, and thank you for the report!

This issue is known and being tracked over in #46544. In order to keep discussions around this issue centralized, I'll mark this as a duplicate.

You are invited to contribute to the other ticket, which for a while had some resolution ideas discussed, but could use some updated attention.

Thanks again!

Note: See TracTickets for help on using tickets.