Embedded iframe displayed in editor but removed on live page

Hi, since last update, i don’t find how insert a short code on a cornerstone element !!

I want to embed an iframe from facebook in one of my page to display a video. I tried with multiple widgets (classic raw content, content area, video, etc.). In the editor preview everythin seems to work ! I can see my video just fine. However, when I load the page outside of the editor, nothing show up. There is indeed a DOM element corresponding to that element but it’s empty ! As if the content of the raw content was ignored.

As an example:

If I try to add a “Classic raw content” element with the following code snippet as its content:

<iframe src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2FMJEssentielles%2Fvideos%2F1763823216966002%2F&amp;show_text=1&amp;width=560" width="560" height="495" style="border:none;overflow:hidden" scrolling="no" frameborder="0"></iframe>

After reloading the page and inspecting the page with the chrome inspector, all I see is:

<div class="x-raw-content"></div>

Can you help me please.

Hi There,

I’ve just tested the embed code and it’s working fine in the text element:

Regards!

It is not working with CLASSIC TEXT element only?

Hi there,

I tested in my local installation and added the code you provided using the Classic Text Element and it is working ok. The fact that it is not working in your environment it might be a problem of Cache or 3rd party plugin conflict.

Kindly purge all caches and deactivate all plugins except Cornerstone and test the case.

Needless to say that I tested the case with the theme version 5.2.4 and the Cornerstone version 2.1.6. If you have other versions than the ones I mentioned please update:

Thank you.

Hi ! I deactivate all plugins except Cornerstone. I have good versions fot theme and Cornerstone. I past my facebook code in Classic Text. But i don’t see ! Incredible.

Hi There,

In that case, please provide us the page URL so we can take a closer look. Because your embedded code above works on my end (on Raw Content, Classic Text, and Text element).

Cornerstone

screenshot

Front Page

screenshot

@hhog It works with CLASSIC TEXT element, it just not show a preview on the builder/cornerstone.

Thanks,

Of course !

https://mjsignature.com/mj-essentielles/

Hey @MJSignature,

Another support member here and your code works on my end too.

Cornerstone:

Live:

It sounds like there’s something in your WordPress install or your web host itself prevents you from using iframe content. Please ask your host about this. Also try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

If you’re in a Multisite environment, this will be the case because only Super Admins could post iframe content.

I also don’t see a raw content element in the page you’ve given us https://mjsignature.com/mj-essentielles/. Please check.

Thanks.

Thanks !

I had check all plugins like. No.

I asked to my host. No.

My site is not a multisite environment.

Thanks for you help.

Like i said, i saw too in my dashboard. But not live. Very strang.

Hello There,

Are you using a caching plugin or CloudFlare? Maybe it is just cache issue. If not, I am afraid that your changes as you add the iframe code is not being saved by Cornerstone due to some conflict. Would you mind providing us some access to your site so that we can test it in your site?

Meanwhile, please update to X 5.2.5 and Cornerstone 2.1.7 especially if you are already using WordPress 4.9.

Please let us know how it goes.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.