Article iFrame fails to load content | Community
Skip to main content

Article iFrame fails to load content

  • September 25, 2017
  • 5 replies
  • 0 views

Hello All,

When I add the following iFrame tag to an article, it works as expected.

<iframe style="position: fixed; top: 0px; left: 0px; bottom: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; padding: 0; overflow: hidden; z-index: 999999;" src="https://insights.ubuntu.com/2017/09/25/lxd-weekly-status-16/?_ga=2.77703703.2005100014.1506373378-1185809915.1506373378"></iframe>

When I add the same tag to an article AND it has a different src it fails to load the iframe:

<iframe style="position: fixed; top: 0px; left: 0px; bottom: 0px; right: 0px; width: 100%; height: 100%; border: none; margin: 0; padding: 0; overflow: hidden; z-index: 999999;" src="http://www.polar-winter-181019.appspot.com/index.html"></iframe>

The src URL is legitimate and will load, in an HTML page that is NOT a Zendesk Article. The test file is attached for your review.

So, the question is; why does the article fail to load the iFrame?

This topic has been closed for replies.

5 replies

Lotus11
  • September 26, 2017

Hi Duke,

The iFrame you are trying to display uses http but to load it on your Zendesk it should be served over https.

 

Best, 

Lotus Themes Team


  • December 28, 2018

I'm having a problem embedding any iFrame in a Support article. Is anyone else experiencing that?


  • December 31, 2018

Hi Justin!

Have you enabled unsafe content in Guide? That's the most likely culprit here. You can find out how to do that here.


  • January 3, 2019

You're right, it works now! Besides iframes, what else does unsafe content disable?


  • January 3, 2019

Hey Justin!

Allowing unsafe content just lets you embed things that you wouldn't normally be able to, primarily videos and iframes.