• Resolved maximiliano02

    (@maximiliano02)


    Hello,

    I’m using H5P with interactive activity. The interactive activity is working well on a page but it doesnt’ work in an article.

    The iframe automatically put the height at 1px.
    <iframe id=”h5p-iframe-1″ class=”h5p-iframe” data-content-id=”1″ style=”height:1px” src=”about:blank” frameborder=”0″ scrolling=”no”></iframe>

    Configuration :
    WordPress 5.1.1
    H5P 1.13.1
    A lot of others plugin but I don’t think it can be a plugin conflict because it work on page.

    Anyone have the same problem and the solution ?

    Thank you in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,

    If you try to resize your browser window does the activity show then?

    If it does show up then your article is being displayed or loaded dynamically via JavaScript. This means that the H5P activity is not visible when it tries to determine its size. To fix this you have to find a way for your JavaScript to let the activity know once it becomes visible.

    If it still does not show you most likely have a JavaScript on your page crashing. Try opening your browser console(by pressing Ctrl+Shift+J in Chrome or Firefox) and look for any error message, they should be highlighted in red. You may have to reload the page after opening the console. If you have any red message that means there is a problem with your site. There can be a lot of reasons for this(incompatible plugins etc) the message will be the clue.

Viewing 1 replies (of 1 total)
  • The topic ‘Interactive activity not displaying on article’ is closed to new replies.