Forum Discussion

david_coggins's avatar
10 years ago

iframe not being displayed

I am an admin and am trying to use an iframe in the Studio to display a company news ticker. I have used iframes in the studio before and was successful. This one however will not work. Here is my code:

 

<iframe width="820" height="150" style="border:none;" src="http://output14.rssinclude.com/output?type=iframe&amp;id=1027440&amp;hash=aad6b6a1ce9b1503a73e103e0b3330e6"></iframe>

Here is the direct link to the content: http://output14.rssinclude.com/output?type=iframe&id=1027440&hash=aad6b6a1ce9b1503a73e103e0b3330e6

 

Here is a link to it working in a fiddle: http://jsfiddle.net/g80s62pa/

 

I have tried using custom components and adding it to the wrapper page header but still it wont show up.

 

It shows in my code but wont display...see image below.

 

Any help woud be appreshiated. 

 

    • david_coggins's avatar
      david_coggins
      Adept

      In looking for a quick workaround I found that you could do something like this to your iframe. Thoughts?

       

      <iframe width="820" height="150" style="border:none;" src="https://www.google.com/search?q=%http://output14.rssinclude.com/output?type=iframe&amp;id=1027440&amp;hash=aad6b6a1ce9b1503a73e103e0b3330e6"></iframe>

        it just adds an https to the begining of your url, im testing it now.

    • david_coggins's avatar
      david_coggins
      Adept

      Yes, we are on https now, just changed last week, good catch. So then the only workaround is to move that iframes content to https as well?

  • I'm having a similar problem, but both my iframed content and my community are on https. Any other troubleshooting suggestions? I'm adding the iframe into the text key for the "access denied" page (error.PermissionDeniedException.body) - something I've done before, but it's not working right now.