It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence: iFrame not displaying website

Hello,

I have added the iFrame HTML macro to my page. When I try to add a website it just shows a white box. I have tried adding:

But it always displays a white empty box (in preview and live on page). Any ideas?

I can add internal links just fine.

 

1 answer

1 accepted

3 votes
Answer accepted

Hi Jeremiah,

Have you add the url to the whitelist?

https://confluence.atlassian.com/doc/configuring-the-whitelist-381255821.html

 

Regards

Nelson

Tags in this document are wrong.
I can't configure the whitelist in Confluence Cloud, there is no option.

Did you ever find a solution? Im getting google sites loading but one of our own not loading?

I am also on the same boat. I have Bitbucket on whitelist but it does not load on iframe

<div>

<iframe> ...

...

</div>

if you still want a solution I have one using a JS script I found on another article ;) 

 

<script>

  $(document).ready(function() {

    $.ajax({

        method: 'GET',

        url: 'https://URL.com/roadmap.html',

        dataType: 'text',

        success: function(data) {

        var iframe = document.getElementById('result');

        iframe = iframe.contentWindow || ( iframe.contentDocument.document || iframe.contentDocument);

 

        iframe.document.open();

        iframe.document.write(data);

        iframe.document.close();

      }

    });

  });

</script>

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

271 views 0 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you