Allow more nuanced control over mediaelement.js elements
|Reported by:||ericlewis||Owned by:|
|Component:||Media||Keywords:||dev-feedback 2nd-opinion needs-patch|
The mediaelement.js implementation in 3.6 is totally rad. However, I've come across an issue.
There's not much nuanced control you have in media elements. All settings are initialized globally for all media element instances, and taking the mediaelement.js defaults, without giving developers an option to override the settings.
wp_editor() is a good model of element instances, and allowing control over each of these instances. I'd like to suggest breaking out separate element instances in this fashion, so settings can be applied to each element independently, and open up these options to end-users through the shortcode options.