[wp-trac] [WordPress Trac] #28622: Add a filter for video shortcode pattern

WordPress Trac noreply at wordpress.org
Sat Nov 1 09:29:06 UTC 2014


#28622: Add a filter for video shortcode pattern
-----------------------------+-----------------------
 Reporter:  jmlapam          |       Owner:
     Type:  feature request  |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  Shortcodes       |     Version:  3.9.1
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+-----------------------
Changes (by Fab1en):

 * status:  closed => reopened
 * resolution:  invalid =>


Comment:

 MediaElement.js DOES support other providers : Vimeo is supported since
 [https://github.com/johndyer/mediaelement/blob/master/changelog.md version
 2.14.0] (WordPress version 3.9). I have also submitted a pull request to
 support Dailymotion, but it has not been merged yet.

 Using `wp_video_shortcode_override` filter is a solution that duplicates a
 lot of WordPress Core code inside a plugin, just to change one or two
 lines.

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


More information about the wp-trac mailing list