Personality Test - not appearing when embedded as an iframe
Submitted by robertotoole on Thu, 09/29/2016 - 11:03
When we embed this personality test in a page in our university web site nothing appears - just blank space. I tested it on Safari and Chrome, Windows and Mac.
Here is what it looks like on our web site:
It also doesn't work when embedded into a Moodle page or on a WordPress page.
Thu, 09/29/2016 - 17:49
Yes, we've had the same issue
Yes, we've had the same issue. I notice in your example this error shows up in the console:
Uncaught SecurityError: Blocked a frame with origin "https://h5p.org" from accessing a frame with origin "http://www2.warwick.ac.uk". The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.
However, I've had no luck embedding in http to http or https to https, either; I was getting an error about the domain not matching.
Thu, 09/29/2016 - 20:23
Thanks for looking. Yes, I
Thanks for looking. Yes, I checked that too. Other content types from the h5p site work perfectly when embedded (via https) in all of the pages I tried (our cms, Moodle, Wordpress, Moodle Rooms). But not this one.
Fri, 09/30/2016 - 08:31
I think this is related to a
I think this is related to a problem that I fixed (i.e the personality quiz trying to access the page it is embedded to) here: https://github.com/LumeniaAS/h5p-personality-quiz/commit/49166cf5fbc
Since this H5P is created and maintained by someone else, I need to get them to release a new version. Will try to get them to do so asap.
Fri, 09/30/2016 - 08:39
Now this should be fixed :
Now this should be fixed :)
Thank you for reporting!
Fri, 09/30/2016 - 09:43
Fri, 09/30/2016 - 10:13
Great, thanks. It's going to
Great, thanks. It's going to be used with 1st year French Studies students at Warwick University. They will be very happy.