Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author icc0rz

    (@icc0rz)

    Hi,

    CP uses an iframe, while QS is embedded directly onto your page.
    QS is an older content type that relies on jQuery, however, jQuery is already defined directly on your page via an <script></script> without a src or esm that defines ‘let jQuery’ — this breaks the old way of bundling and defining jQuery that QS relies on (‘var jQuery’).

    The easiest solution to this is probably to modify how the theme includes jQuery. However, you could also change the embed type of the content, but there is currently no UI control for that so you would have to update the db directly (embed_type col on h5p_contents table)

    Thread Starter ego77

    (@ego77)

    Hi,

    Thank you for your reply. It’s clear.
    Which value for embed_type ?
    By default, it’s div.
    iframe doesn’t work.
    Sorry for my question I’m not a developer.
    Thank.

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

You must be logged in to reply to this topic.