Multiple Javascript errors for Branching Scenario embeds
Hope you can help me out! Thank you so much!!!
I've created three Branching Scenario activities. They work correctly in the plugin editor, but when I view them embedded on my site they do not render in the page.
The first of the three embeds actually shows correctly if I am viewing the page while logged into Wordpress admin, but it does not appear when I'm logged out. In both situations, the second and third Branching Scenario iframes are not rendering.
I also tried embedding each Branching Scenario into separate pages instead of all on the same page, but that doesn't seem to be changing anything.
I am using:
Wordpress Version 5.4.2
Desktop
Chrome Version 84.0.4147.125 (same issue appears in Safari)
HP5 plugin version 1.15.0
Content type: Branching Scenario (beta).
Here is the URL where the errors are appearing: https://www.homesolaradvice.com/interactive-betas/
Here are the console log errors:
h5p.js?ver=1.15.0:976 Unable to find constructor for: H5P.BranchingScenario 1.2
H5P.error @ h5p.js?ver=1.15.0:976
H5P.newRunnable @ h5p.js?ver=1.15.0:895
(anonymous) @ h5p.js?ver=1.15.0:137
each @ jquery.js?ver=1.15.0:2
each @ jquery.js?ver=1.15.0:2
H5P.init @ h5p.js?ver=1.15.0:93
(anonymous) @ h5p.js?ver=1.15.0:2821
c @ jquery.js?ver=1.15.0:2
fireWith @ jquery.js?ver=1.15.0:2
ready @ jquery.js?ver=1.15.0:2
H @ jquery.js?ver=1.15.0:2
h5p.js?ver=1.15.0:1115 Uncaught TypeError: Cannot read property 'getCopyrights' of undefined
at Object.H5P.getCopyrights (h5p.js?ver=1.15.0:1115)
at HTMLDivElement.<anonymous> (h5p.js?ver=1.15.0:174)
at Function.each (jquery.js?ver=1.15.0:2)
at init.each (jquery.js?ver=1.15.0:2)
at Object.H5P.init (h5p.js?ver=1.15.0:93)
at HTMLDocument.<anonymous> (h5p.js?ver=1.15.0:2821)
at c (jquery.js?ver=1.15.0:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.15.0:2)
at Function.ready (jquery.js?ver=1.15.0:2)
at HTMLDocument.H (jquery.js?ver=1.15.0:2)
H5P.getCopyrights @ h5p.js?ver=1.15.0:1115
(anonymous) @ h5p.js?ver=1.15.0:174
each @ jquery.js?ver=1.15.0:2
each @ jquery.js?ver=1.15.0:2
H5P.init @ h5p.js?ver=1.15.0:93
(anonymous) @ h5p.js?ver=1.15.0:2821
c @ jquery.js?ver=1.15.0:2
fireWith @ jquery.js?ver=1.15.0:2
ready @ jquery.js?ver=1.15.0:2
H @ jquery.js?ver=1.15.0:2
h5p.js?ver=1.15.0:976 Unable to find constructor for: H5P.BranchingScenario 1.2
H5P.error @ h5p.js?ver=1.15.0:976
H5P.newRunnable @ h5p.js?ver=1.15.0:895
(anonymous) @ h5p.js?ver=1.15.0:137
each @ jquery.js?ver=1.15.0:2
each @ jquery.js?ver=1.15.0:2
H5P.init @ h5p.js?ver=1.15.0:93
(anonymous) @ h5p.js?ver=1.15.0:2821
c @ jquery.js?ver=1.15.0:2
fireWith @ jquery.js?ver=1.15.0:2
ready @ jquery.js?ver=1.15.0:2
H @ jquery.js?ver=1.15.0:2
h5p.js?ver=1.15.0:2255 Uncaught TypeError: Cannot read property 'on' of undefined
at Object.H5P.on (h5p.js?ver=1.15.0:2255)
at HTMLDivElement.<anonymous> (h5p.js?ver=1.15.0:213)
at Function.each (jquery.js?ver=1.15.0:2)
at init.each (jquery.js?ver=1.15.0:2)
at Object.H5P.init (h5p.js?ver=1.15.0:93)
at HTMLDocument.<anonymous> (h5p.js?ver=1.15.0:2821)
at c (jquery.js?ver=1.15.0:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.15.0:2)
at Function.ready (jquery.js?ver=1.15.0:2)
at HTMLDocument.H (jquery.js?ver=1.15.0:2)
H5P.on @ h5p.js?ver=1.15.0:2255
(anonymous) @ h5p.js?ver=1.15.0:213
each @ jquery.js?ver=1.15.0:2
each @ jquery.js?ver=1.15.0:2
H5P.init @ h5p.js?ver=1.15.0:93
(anonymous) @ h5p.js?ver=1.15.0:2821
c @ jquery.js?ver=1.15.0:2
fireWith @ jquery.js?ver=1.15.0:2
ready @ jquery.js?ver=1.15.0:2
H @ jquery.js?ver=1.15.0:2
8. Any PHP errors
Not that I am aware of.