cerpus / Edlib

Edlib is an application for creating, sharing, storing and using rich interactive learning resources.
https://docs.edlib.com
GNU General Public License v3.0
40 stars 7 forks source link

"Cerpus Image" doesn't work on the front end #2685

Open tmkarlsen opened 6 months ago

tmkarlsen commented 6 months ago

The editor is working fine, but nothing is displayed on the front end.

https://www.edlib.com/s/resources/25381ef9-b5f5-42ed-9e12-76c0b7e4e190

Error

h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2 Uncaught DOMException: Failed to read a named property 'nodeType' from 'Window': Blocked a frame with origin "https://ca.edlib.com" from accessing a cross-origin frame. at new init (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:49935) at e (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:48448) at H5P.CerpusImage.attach (https://cdn.edlib.com/contentauthor/cachedassets/080991886529053c49f25a18c118306af3f30ec3.js:71:7) at t.newRunnable (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:28111) at HTMLDivElement. (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:18503) at Function.each (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:53624) at init.each (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:50417) at t.init (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:17525) at HTMLDocument. (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:47490) at a (https://ca.edlib.com/js/h5p-core-bundle.js?id=64eadd6f8872b51e262346ab53bab7fe:2:56046)