• Duplicate players appear on my posts.  For all the existing podcast episodes, I see the player displayed twice.  I see the player only once in the visual edit view, but when I go to the live page, two players appear.

    According to this link “PowerPress logic adds the player and links only once for a given post or page. This is to prevent duplicate players from appearing in a page.”

    I have tried all the “Having Issues” settings without any improvement.

    Previously the podcasts had been simply using WordPresses native podcast feature using “[audio mp3="http://mydomain.com/filename.mp3"][/audio]” in the body of the blog.  I can correct the issue by deleting the [audio] tags from each post, but there are both technical and logistical reasons that I would prefer not to take that path.

    This issue exists on two blogs that are primarily podcasts. One of the blogs is using the 2010 theme, the other is using Dynamic/Genesis.  PowerPress claims to support both of these themes.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Shawn

    (@shawnogordo)

    Please post a link to a site where you’re seeing the duplicate players so we can take a look at what’s going on.

    Thread Starter brownium

    (@brownium)

    Thank you – Here are the two sites in question:

    http://songskirmish.com/skirmish-57/debug-sample/ (2010 theme)
    http://gbfbastrop.org/blog/my-heart-is-like-a-house/ (Genesys/Dynamic)

    I’ve linked to specific episodes that display the problem.

    Plugin Support Shawn

    (@shawnogordo)

    Anytime you drop a “naked” link (in other words, no anchor text) to an audio file in WordPress, WordPress will spawn the default MediaElement.js player. PowerPress uses the same player as well. My guess is that you had these “naked” audio links in place and then decided to also add them as podcasts? If that’s true, then WordPress and PowerPress are doing exactly what they’re supposed to do. If you want only one player per post, here are your options:
    1.) Manually remove the “naked” audio links from each post.
    2.) Turn off the PowerPress media player by going to PowerPress >> Settings, Advanced Mode >> Website, click the button next to Disable in the Display Media & Links section and click the Save Changes button at the bottom of the page.

    Thread Starter brownium

    (@brownium)

    Thanks, Shawn. The audio links in the podcast episodes are done as

    [audio mp3="http://songskirmish.com/wp-content/uploads/2017/04/Throw-Me-A-Bone_brownium.mp3"][/audio]

    Those links were there long before I installed PowerPress. PowerPress automatically dupilcated those links in it’s own “media url” field when I installed the plug in.

    Your answer certainly matches the behaviour that I am seeing, except that both players that I see are the player configured by PowerPress, rather than one player that is the default player, and one that is the PowerPress player.
    The question that remains is (and this is just curiosity), what is meant by the following statement on the PowerPress site:

    PowerPress logic adds the player and links only once for a given post or page. This is to prevent duplicate players from appearing in a page.

    When PowerPress is installed, it hides BOTH players in the edit window of the post, but both show up in the live view. That text above makes it sound like PowerPress should be preventing the WordPress-spawned player in the live view.

    Plugin Support Shawn

    (@shawnogordo)

    I’ve asked the lead developer of PowerPress to take a look at this thread and either he will post himself or he’ll relay some information to me, which I’ll post here.

    Plugin Contributor Angelo Mandato

    (@amandato)

    Hello @brownium,

    PowerPress logic adds the player and links only once for a given post or page. This is to prevent duplicate players from appearing in a page.

    This is in the context if you use other sidebar widgets or custom themes that display the same post multiple times on a page. What would happen is there would be 2 instances of the same player to the same episode in such cases. PowerPress adds logic to only add the player once into the content, if additional calls are made then we do not add the player again. This also happens if you have a plugin that gets “the_content” in another area of the page, for example like the HTTP header for meta description tags.

    If you manually specify the audio player, then you are manually specifying a media file to have a player associated with it. As far as PowerPress is concerned, it doesn’t know that is also your episode. Technically you could put an audio shortcode in there for media that you are just referencing in your episode, common if you are doing a podcast about music.

    You can decide on a per episode basis if you want the player and links to appear or not. Go to PowerPress > Episodes tab, and check the option titled “Display Player and Links Options” and the first sub-option then click save. Now when you edit an episode, you can check or uncheck the player option to display the player and links in the blog posts where you are also manually entering the audio shortcode.

    If you are not using the audio shortcode and you still see 2 players in a blog post, then something is happening with your theme. The Try to fix options should fix the issue if that is the case. But if you are adding an audio tag then you need to tell PowerPress about it so we do not also add the player, that is with the option I just described in the last paragraph.

    Does this help?

    Thread Starter brownium

    (@brownium)

    Gotcha. Thank you for the clarification!

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

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