Celebrate Excellence in Education: Nominate Outstanding Educators by April 15!
Hello,
I have been working to create an iFrame for course policies. I have done this many times before in other positions; however, I believe that the site may be blocking the iFrame.
Here is my code:
<iframe style="position: relative; top: 0; left: 0; width: 675px; height: 600px; overflow: none; border: none;" src="https://education.faes.org/contentManagement.do?method=load&code=CM000011"></iframe>
Is there something that is missing?
Thank you!
Solved! Go to Solution.
You are correct that the website blocks other sites from embedding the content within an iframe. It does this by adding a content-security-policy of frame-ancestors 'self' test.authorize.net accept.authorize.net;
That means that unless you are on education.faes.org, test.authorize.net, or accept.authorize.net, you're not going to be easily able to embed the content in an iframe.
Here are some potential work-arounds.
This is the message that I keep getting:
education.faes.org refused to connect.
Thank you! The error had me doubting my ability to set up an iFrame (smile). Many thanks!!!
You are correct that the website blocks other sites from embedding the content within an iframe. It does this by adding a content-security-policy of frame-ancestors 'self' test.authorize.net accept.authorize.net;
That means that unless you are on education.faes.org, test.authorize.net, or accept.authorize.net, you're not going to be easily able to embed the content in an iframe.
Here are some potential work-arounds.
To participate in the Instructure Community, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.