[wp-trac] [WordPress Trac] #24504: Have wp_get_(audio|video)_extensions() wrap wp_get_mime_types( $type = null ) if feasible

WordPress Trac noreply at wordpress.org
Thu Jun 6 15:13:11 UTC 2013


#24504: Have wp_get_(audio|video)_extensions() wrap wp_get_mime_types( $type = null
) if feasible
---------------------------+----------------------
 Reporter:  aaroncampbell  |       Owner:
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:
Component:  Media          |     Version:
 Severity:  normal         |  Resolution:  invalid
 Keywords:  needs-patch    |
---------------------------+----------------------
Changes (by markjaquith):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  3.6 =>


Comment:

 So, ME.js only supports a subset of the video/audio MIME types WP knows
 about. So allowing all of them would lead to embeds being processed that
 won't work. Not great. We should keep these separate as they are for
 different purposes.

 List of supported MIME types here:

 https://github.com/johndyer/mediaelement/blob/master/src/js/me-
 namespace.js

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24504#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list