h5p not displaying chrome firefox edge

  • Microsoft EdgeVersion 112.0.1722.46 (Official build) (64-bit
  • Chrome - Version 112.0.5615.121 (Official Build) (64-bit)
  • Firefox- 112.0.2 64 bit
  • Redhat
  • server setting  Header set X-Frame-Options SAMEORIGIN - Content is from same orgin so shouldnt be the issue
  • wordpress core 6.0 and higher
  • H5p Version 1.15.6
  • LearnDash LMS  Version 4.5.3
  • Shortcodes Ultimate Version 5.12.9
  • aveda theme

 

"document.write (henceforth DW) does not work in XHTML

Chrome will not run document.write invocations that insert a script when certain conditions are met.

document.write only works while the page is loading; If you call it after the page is done loading, it will overwrite the whole page.

This effectively means you have to call it from an inline script block - And that will prevent the browser from processing parts of the page that follow. Scripts and Images will not be downloaded until the writing block is finished."

[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>

 

jquery.js?ver=1.15.6:2 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952

 

10[Violation] Avoid using document.write(). <URL>

 

20[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>

Content types: