iframe shows as blank page in Confluence


If your added iframe macro shows as a blank page in confluence page. I think there are two places you need to check.

  1. Ensure the site url (include protocol scheme) has been whitelisted.
  2. Check whether the site allows cross origin access.

For example, *.sharepoint.com does not cross origin access by setting x-frame-option as SAMEORIGIN.

Screen Shot 2018-06-17 at 9.14.07 pm.png

Reference:
https://confluence.atlassian.com/confkb/how-to-put-an-iframe-into-confluence-598837531.html
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s