[wp-trac] [WordPress Trac] #40921: Inconsistent Handling of mp4 by Audio Widget

WordPress Trac noreply at wordpress.org
Mon Oct 16 16:29:55 UTC 2017


#40921: Inconsistent Handling of mp4 by Audio Widget
-------------------------------------------------+-------------------------
 Reporter:  toddhalfpenny                        |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Media                                |  Release
 Severity:  normal                               |     Version:  3.6
 Keywords:  2nd-opinion dev-feedback has-        |  Resolution:
  screenshots has-patch needs-unit-tests         |     Focuses:
-------------------------------------------------+-------------------------

Comment (by blobfolio):

 Replying to [comment:32 toddhalfpenny]:
 > This "upfront cost" seems like a ''much'' better way forward, thanks
 @blobfolio!
 > My 2p is that although this may have a perf hit, it makes it more
 robust, which I'd view as more important.

 Thanks @toddhalfpenny, I think so too.

 Doing this out-of-the-gate not only fixes the widget issue you discovered,
 but also ensures that the correct metadata parsing functions get called,
 fixes a bunch of issues with the Media Library (filtering by type, the
 thumbnail icon, etc), and gives the server a better chance of correctly
 reporting the content type, making it easier for browsers to render direct
 streams correctly (particularly in cases where sniffing is disabled).

 My personal crusade is to eventually get WP to do this for all files (and
 in a central way), but that battle will take a lot longer to wage. Haha.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40921#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list