web-stories-wp icon indicating copy to clipboard operation
web-stories-wp copied to clipboard

Background Audio: M4A files not supported

Open bmattb opened this issue 3 years ago • 3 comments

Bug Description

Originally reported by @sblinde in Bug Bash 1.23

When a m4a file is manually uploaded in uploader , and when a user copies the URL of the valid file to be used as background audio, it says “invalid link” for the URL from the WordPress file. Note: It may be because the background audio file type is not the same formats allowed for a background audio. [Seen in Windows 11, Chrome] -

Expected Behaviour

Steps to Reproduce

Screenshots

Additional Context

@swissspidy flagged that "The specific mime type might not be in the allowlist yet"

  • Plugin Version:
  • WordPress Version:
  • Operating System:
  • Browser:

bmattb avatar Jul 15 '22 14:07 bmattb

Note: It may be because the background audio file type is not the same formats allowed for a background audio.

Exactly this.

We do not currently support M4A files, so this is absolutely expected.

Would need to add audio/x-m4a to the allowlist.

swissspidy avatar Jul 18 '22 09:07 swissspidy

m4a are supported by core. See.

However audio/x-m4a is not in the allowed list. Adding it our allowed list, is not useful here, as it would be filtered out.

spacedmonkey avatar Jul 21 '22 14:07 spacedmonkey

Hmm okay, putting this back to the backlog for now

swissspidy avatar Jul 25 '22 12:07 swissspidy