MediaElement.js - HTML5 Video & Audio Player
duplicate players showing (9 posts)

  1. eddierosenthal
    Posted 4 years ago #

    I'm seeing two players for the one song i am using as source, one below the other. I am not connected to jetpack. I have one other audio player plugin - uber audio. I have tried both syntaxes for the mp3 file i am trying to play.
    audio src= and audio mejsaudio src . I am using the shortcode in a text widget in a premium plugin.
    any suggestions?


  2. jhenry1014
    Posted 3 years ago #

    I'm having the same exact issue. I'm only using the correct shortcode once...but the embed shows up twice. One is functional and the other is not.

    Here's the short code (where 'sample' is the URL):
    [mejsaudio src="sample.mp3"]

    Does anyone have a solution?


  3. jhenry1014
    Posted 3 years ago #

    Hi Eddie,

    I was actually experimenting a little more and found a solution.

    So instead of what is up on the site for audio players:
    [mejsaudio src="sample.mp3"]

    I used this modified:
    [mejsaudio mp3="sample.mp3"]

    The key is not using 'src' - use the specific format of the file.

    Good luck,

  4. karizmuh
    Posted 3 years ago #

    Duplicate players are most likely a cause of a plugin conflict. Deactivate your plugins, then reactivate them one at a time while refreshing the page with the duplicate players after each plugin activation. You should then find the culprit.

    For me the conflict was with Shortcodes Ultimate v. 3.95


    • WordPress Build - 3.5.1
    • ME.js version - 2.10.3
  5. akyusa01
    Posted 3 years ago #

    I'm was also having the same problem with duplicate audio players. I actually found my theme was using the remove_filter('the_content', 'wpautop'); and that is what was causing the problem.

    Hope that helps anyone looking.

  6. johnnyp14
    Posted 3 years ago #

    I'm getting it with FLV files.

  7. dddwordpress
    Posted 3 years ago #

    So akyusa01, what did you do to resolve. Remove the code?

  8. akyusa01
    Posted 3 years ago #

    I went to my theme's functions.php and found this: remove_filter('the_content', 'wpautop'); or anything that has wpautop, and deleted it. I had some spacing issues I needed to correct with CSS on the p tags/shortcodes etc, but the duplicate audio player issue was no more.

  9. dddwordpress
    Posted 3 years ago #

    TX akyusa01 - will try.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MediaElement.js - HTML5 Video & Audio Player
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic