H5P iFrame is not visible in the page

Hi,

I am using H5P in my Drupal site and getting issues in emberding iframe on the page after D10 upgrade. Getting below error in the consloe.

Uncaught SyntaxError: Invalid or unexpected token ( h5p.js points to this.contentDocument.write('<!doctype html><html class="h5p-iframe"><head>'+H5P.getHeadTags(contentId)+ <script type="text/javascript" src="/modules/contrib/seckit/js/seckit.document_write.js"></script>

Please assist here as I am new to Drupal

otacke's picture

Hi!

I am not entirely sure that this is an H5P issue. The code does not look well formed indeed, but it is the part within the <script> tags that looks odd (missing quotes) and it seems to hint towards "seckit", another module for Drupal (https://www.drupal.org/project/seckit).

Best,

Oliver