[wp-trac] [WordPress Trac] #40921: Inconsistent Handling of mp4 by Audio Widget
WordPress Trac
noreply at wordpress.org
Sun Jun 4 21:19:24 UTC 2017
#40921: Inconsistent Handling of mp4 by Audio Widget
---------------------------+------------------------------
Reporter: toddhalfpenny | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 3.6
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
---------------------------+------------------------------
Changes (by westonruter):
* keywords: has-patch => needs-patch
* version: trunk => 3.6
* component: Widgets => Media
Comment:
@toddhalfpenny thanks for the report. Are you uploading the MP4 audio to
the media library and then adding it from the media library as an
attachment? Or are you adding it by URL?
Unfortunately just adding the `mp4` extension to
`wp_get_audio_extensions()` is not enough. Note that if you are in the
post editor and you upload an MP4 audio file, and then try adding that
media to a post it will incorrectly think that it is a video. The media
logic I think is incorrectly only looking at the file extension to
determine the media type.
Also see: https://en.wikipedia.org/wiki/MPEG-4_Part_14#.MP4_versus_.M4A
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40921#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list