[wp-trac] [WordPress Trac] #27384: Adjust the default volume for the audio player

WordPress Trac noreply at wordpress.org
Sun May 11 06:49:41 UTC 2014


#27384: Adjust the default volume for the audio player
-------------------------+-------------------------
 Reporter:  miqrogroove  |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.0
Component:  Media        |     Version:  3.8
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     Focuses:  javascript
-------------------------+-------------------------
Changes (by wonderboymusic):

 * keywords:  dev-feedback =>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 See [28370], you can add whatever you want now by overriding
 `_wpmejsSettings`:

 {{{
 wp_localize_script( 'wp-mediaelement', '_wpmejsSettings', array(
         'pluginPath' => includes_url( 'js/mediaelement/', 'relative' ),
         'startVolume' => 0.1
 ) );
 }}}

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


More information about the wp-trac mailing list