[wp-trac] [WordPress Trac] #39686: Upgrade MediaElement to 4.X

WordPress Trac noreply at wordpress.org
Sun May 7 04:06:34 UTC 2017


#39686: Upgrade MediaElement to 4.X
--------------------------------+-------------------------
 Reporter:  rafa8626            |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  4.8.1
Component:  External Libraries  |     Version:  4.7.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  javascript
--------------------------------+-------------------------

Comment (by rafa8626):

 @grosbouff Just add this line on the patch after the translations; I
 finally found it:

 $scripts->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-
 mediaelement$suffix.js", array('mediaelement'), false, 1 );
 $mejs_settings = array(
         'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
          // This will be a global element that will help all the themes
         'classPrefix' => 'mejs-',
 );

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


More information about the wp-trac mailing list