• On our site we are showing the latest posts on the front page, and every post shows the modern HTML5 Player .

    The player in the top post works fine, but all the other players on the page are broken.

    When we inspect the HTML, it looks like <p> tags are being inserted incorrectly, into the player config, it looks like somehow the player runs through wpautop. For example.

    ...(function ($) { var sspUpdateDuration2;</p>
    <p> //Create Player

    We are using the Twenty Seventeen theme without any modifications.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello @khromov,

    Thanks for reaching out. Could you provide a url to the page where this is occurring so we can take a better look.

    Thanks!

    Thread Starter Stanislav Khromov

    (@khromov)

    Hi @iviolini,

    I had to turn off the HTML5 player. But I gave you the steps you should need to reproduce it above.

    Hello @khromov,

    I’m not able to reproduce that error in our test environment. Can you provide me any additional information that could help me diagnose further?

    Thread Starter Stanislav Khromov

    (@khromov)

    Hi @iviolini

    I’ve temporarily enabled the HTML5 player so you can see the issue, it’s available here:
    https://wpodd.se/

    The first episode in the list works fine, but the players in the episodes below it are broken.

    I have verified core and plugin checksums, and also tried disabling all plugins except SSP on the Twenty Seventeen theme and still experience this issue.

    Hello @khromov thanks for providing that link. We’ll take a closer look and see what we can find out.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hello @khromov thanks for bringing this to our attention. I have scheduled this to be included in our next plugin update, which I hope to get out sooner rather than later.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi @khromov We’ve identified that this issue is related to a larger issue we’ve had on our radar for a few months – https://github.com/TheCraigHewitt/Seriously-Simple-Podcasting/issues/327

    We are prioritising this, but it requires a large refactor of the player code. As soon as it is tested and ready we’ll push out a plugin update.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi @khromov thank you for your patience.

    We released version 1.19.17 of the plugin today which includes a fix for this issue, please update your plugin version.

    Thanks for bringing this to our attention.

    Thread Starter Stanislav Khromov

    (@khromov)

    Hi @psykro

    I updated to 1.19.17 and switched to the HTML5 player (WP 5.1.1), but the problem has not been solved, the output is still broken by wpautop(), so I have again switched back to the standard player.

    Plugin Contributor Jonathan Bossenger

    (@psykro)

    Hi @khromov

    Can I ask you to test the player on my podcast site

    https://wphackercast.com/

    This is also running the latest version of the plugin and I cannot see any of the issues that were appearing.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘tags inserted into JS for player, breaking it’ is closed to new replies.