web-stories-wp
web-stories-wp copied to clipboard
Background Audio: M4A files not supported
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:
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.
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.
Hmm okay, putting this back to the backlog for now