Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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.

 

2 answers

1 accepted

4 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>

You can try this and whenever user surfing your website the request will also goto to the target website.

<iframe src="your website target" title="Title"></iframe>

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Miss the Confluence demos at Team 21? Watch them here!

Phew, Atlassian Team 2021 blew by. With dozens of demos and a handful of keynotes, you may have missed some of the awesome Confluence Cloud sessions. Don't' worry, you can watch them all here or on Y...

339 views 2 6
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you