Embed exported html from hype in iframe


(Michael) #1

I have an html file and associated resources (hype export) on a server which i can open in a browser.
http://www.learnplus.com.au/clients/elp_c3_ind_care/chcccs015/2_providing_excellence.html

I have tried to embed this in a new hype document as an iframe, using a number of methods and while I can get a site like http:www.apple.com to load fine, I can’t get the above url loading in a new hype doc - tried both embed options as well as using a rectangle shape and using an iframe tag


#2

That domain (Learnplus.com.au) allows embedding of itself only on its domain. The error I see in the console when trying to add it to an iframe is:

Refused to display 'http://www.learnplus.com.au/clients/elp_c3_ind_care/chcccs015/2_providing_excellence.html' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

To change this setting, check out this page: https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options