Opened 11 years ago
Closed 11 years ago
#27384 closed enhancement (fixed)
Adjust the default volume for the audio player
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Media | Keywords: | |
Focuses: | javascript | Cc: |
Description
I despise websites that turn up the volume too high, and mine is one of them. Can we have some way to adjust the default volume setting for uploaded audio files? Even a global player adjustment would be nice.
Tested 3.8 and trunk.
Change History (2)
#1
@
11 years ago
- Focuses javascript added
- Keywords dev-feedback added
- Milestone changed from Awaiting Review to 4.0
- Summary changed from Audio Player Default Volume Too High to Adjust the default volume for the audio player
- Type changed from defect (bug) to enhancement
#2
@
11 years ago
- Keywords dev-feedback removed
- Resolution set to fixed
- Status changed from new to closed
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 ) );
Note: See
TracTickets for help on using
tickets.
Moving to 4.0 for consideration.
I wonder if we could make
startVolume
configurable via the audio shortcode attributes, or perhaps introduce a filter somewhere. Maybe @wonderboymusic has some insight.