[wp-trac] [WordPress Trac] #40819: Audio widget in WP 4.8 - unsupported audio files

WordPress Trac noreply at wordpress.org
Fri May 19 21:06:13 UTC 2017


#40819: Audio widget in WP 4.8 - unsupported audio files
---------------------------+--------------------
 Reporter:  Guido07111975  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  4.8
Component:  Widgets        |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |     Focuses:
---------------------------+--------------------
Changes (by westonruter):

 * keywords:  reporter-feedback => needs-patch
 * milestone:  Awaiting Review => 4.8


Comment:

 Indeed. I can see in the Ajax request that the MIME types being queried
 are: `audio/mpeg,audio/ogg,audio/x-ms-wma,audio/mpeg,audio/wav`. The
 `audio/x-ms-wma` format really shouldn't be included because it is not
 embeddable. If MediaElement.js isn't able to play them, then they
 shouldn't be included in `wp.media.view.settings.embedMimes`.

 And in fact, I see that MediaElement.js no longer supports these formats:

 > Support for wmv and wma has been dropped since most of the major players
 are not supporting it as well.

 The solution to this may be to eliminate WMV and WMA from being considered
 embeddable media.

 @Guido07111975 @vijustin the behavior you see for embedding WMV and WMA
 files is no better in the context of the edit post screen, is it?

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


More information about the wp-trac mailing list