Cross-domain embed?

Hi, 

is it possible to successfully embed H5P content from one domain on another?

When I try to embed the Course Presentation example I can't use the navigation.

Thank you!

falcon's picture

I just tested it and it works for me. Which browser are you using? Would you mind sharing a link to the page where you are embedding it?
fnoks's picture

Is this still a problem? We had one issue yesterday with the same symptoms, that we have fixed.

Hi, 

you are right. It seems to be a browser issue. 

It doesn't work for me in Chrome.  But I Firefox I have no problems.

Here is one example:
http://output.jsbin.com/vayasocete

The console shows the following message:
Uncaught SecurityError: Blocked a frame with origin "https://h5p.org" from accessing a frame with origin "http://output.jsbin.com".  The frame requesting access has a protocol of "https", the frame being accessed has a protocol of "http". Protocols must match.

falcon's picture

It works on my Chrome. Which chrome version are you using? May it be a cache issue? Have you tried to delete your entire browser cache? CTRL + F5 doesn't always clear files used by an iframe

Ok, I think I know the reason now. 

Some extension must be interfering. When I open the link in private mode it works. 

Sorry about the troubles!

falcon's picture

:)

It was a cache issue. I deactivated all extensions and the problem persisted. 

CTRL+F5 didn't help, but clearing the cache did.