• Editing a post with an embedded H5P shortcode throws an Javascript error in the console

    ## Description
    When editing WordPress content such as a page with H5P shortcode in it, h5p.js throws ‘Uncaught ReferenceError: H5PIntegration is not defined’.

    I’m using Gutenberg editor. There doesn’t seem to be a difference when pasting the shortcode to the Paragraph block or to the Shortcode block.

    The content itself seems to work just fine on the front end.

    ## Steps to Reproduce
    1. Create a H5P content (tested with Interactive Video and Presentation)
    2. Create a new page and add the H5P shortcode to the Paragraph block or the Shortcode block
    3. Reload the page
    4. Open Console and see the error

    ## Environment

    * WordPress version: 5.3.2 multisite (with Gutenberg)
    * H5P plugin version: 1.15.0
    * Browser Name and version: Chrome 80.0.3987.149 and Firefox 74.0 (64bit)
    * Operating System and version: Windows 10 Pro 1909

  • The topic ‘Uncaught ReferenceError: H5PIntegration is not defined’ is closed to new replies.