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