Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

AEM 6.5 Embed Component stripping out iframe code

Avatar

Level 2

Good day,

When using the embed component in AEM 6.5 and inserting and iframe into the html option, eg. 

<iframe src="{url of external feed}" id="#graph" width="100%" height="580"></iframe>

Then when viewing as published or viewing on the published site, the html comes back as:
<div class="cmp-embed">
<iframe height="580"></iframe>
</div>

Has anyone else ever had this issue or perhaps now what causes it and may have a resolve.

Thank you.
1 Accepted Solution

Avatar

Correct answer by
Level 2

Resolved, seems the embed component cannot display iframe's, have used the html component

View solution in original post

2 Replies

Avatar

Correct answer by
Level 2

Resolved, seems the embed component cannot display iframe's, have used the html component

Avatar

Level 1

I'm looking for similar solution. Do we have HTML component in the core components or is that custom component?