Title: Default Audio Player
Last modified: August 12, 2021

---

# Default Audio Player

 *  [Daffydd57](https://wordpress.org/support/users/daffydd57/)
 * (@daffydd57)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/default-audio-player/)
 * Hi,
 * I use the loop to post remotely to a detached website.
 * When I post audio to a page that contains
 *     ```
        <?php wp_footer(); ?>
           <!-- WordPress -->
       ```
   
 * I get an audio player that does not support right-click copy audio link. I assume
   that this is the default theme player (theme used is Twentyfifteen). On pages
   where I exclude the footer call I get the default browser player – it does support
   the right-click options.
 * I could just leave the footer bit off – but to use plugins I need it.
 * Examples:
 * This page has the footer call – if you right-click the player you do not get 
   option to save audio
    [https://ktbb.com/infocus/index.php](https://ktbb.com/infocus/index.php)
 * This page has the footer bit removed – you now have the normal browser behavior
   of being able to save audio – also the Social icons (shared counts plugin) are
   gone because they require the footer call.
    [https://ktbb.com/infocus/](https://ktbb.com/infocus/)
 * So question is how to disable the WP theme player so that the browser default
   is always used?
 * Thanks for any suggestions
    Daf
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-audio-player%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Daffydd57](https://wordpress.org/support/users/daffydd57/)
 * (@daffydd57)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/default-audio-player/#post-14762532)
 * So to answer my own question … I found a post on StackExchange here:
    [https://wordpress.stackexchange.com/questions/380779/wordpress-audio-player-has-two-different-styles](https://wordpress.stackexchange.com/questions/380779/wordpress-audio-player-has-two-different-styles)
   in this article it suggests putting the code below into functions.php for current
   theme to disable the default player. This worked for me.
 *     ```
       add_action('init', 'remove_media_element', 10);
       function remove_media_element() {
           wp_deregister_script('wp-mediaelement');
           wp_deregister_style('wp-mediaelement');
       } 
       ```
   
 * Thanks!
 *  Thread Starter [Daffydd57](https://wordpress.org/support/users/daffydd57/)
 * (@daffydd57)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/default-audio-player/#post-14762653)
 * Ugh! While this worked great for replacing audio player it disabled the “Add 
   Media” button in the New Post dialog. Back to the drawing board!
 * Daf

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Default Audio Player’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [Daffydd57](https://wordpress.org/support/users/daffydd57/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/default-audio-player/#post-14762653)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
