Improve the WordPress Audio and Video Player with 4 lines of code

WordPress styles the default audio and video elements, and frankly it’s not an improvement.

Below is the code to turn the audio player from this

into this

function deregister_media_elements(){
add_action( 'wp_enqueue_scripts' , 'deregister_media_elements' );

Add the code to your theme functions.php file.