does the mediaelement audio player have to be used? any suggestions for using html5 player instead?
@buddhatunes - Any reason for getting MediaElement removed? WordPress itself uses it and we have just given a fallback to use the same. MediaElement itself uses HTML5 if your browser supports it, plus it provides a fallback for old browsers. For more info on MediaElement.js check this link -> http://mediaelementjs.com/
There are many reasons I want to remove the mediaelement player - I have a custom html5 player that is better suited to my needs.
Getting back to original question, any suggestions on swapping out players?
@buddhatunes - Check if the following code helps. Need to put it in your theme’s functions.php
add_action( 'wp_print_scripts', 'rtm_custom_dq_script', 100 );
function rtm_custom_dq_script() {
wp_dequeue_script( 'wp-mediaelement' );
wp_deregister_script( 'wp-mediaelement' );
}
add_action( 'wp_print_styles', 'rtm_custom_dq_style', 100 );
function rtm_custom_dq_style() {
wp_dequeue_style( 'wp-mediaelement' );
}
If you are looking for customizing the mediaelement player maybe this link could help -> http://justintadlock.com/archives/2013/09/02/wordpress-theme-mediaelement-js-project