Issue With Dynamic Content Video - Question | JoomShaper

Issue With Dynamic Content Video

KG

KMK Media Group

SP Page Builder 5 days ago

We have a page built out using dynamic content and seed to embedd youtube videos on some. I tried to embed a video within the rich text editor but it strips it out and doesn't show. So then I added a video block. That shows the youtube video on the ones that have it but the ones that shouldn't have a video use the same page but where the video spot is, it has a video player that says "No video with supported format and MIME type found". How do I change it so I can either embed a youtube video into the rich text editor or change it so that only videos display for the ones that have a video and the ones that don't, nothing displays?

Thanks, Shaun

0
3 Answers
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 5 days ago #225251

Hello Shaun,

Apologies for the inconvenience.

It is not possible to insert any iframe code within the Rich Text field of Dynamic Content. This restriction applies not only to YouTube embeds but to all iframe-based content, as they are automatically stripped for security and formatting reasons.

Regarding the Video Addon behavior, unfortunately there is currently no built-in option to conditionally hide the video player when no video source is available. As a result, the placeholder/player with the “no supported format” message is displayed when the field is empty.

I understand this is not ideal and does require improvement. I will raise this with the development team and project manager for further review and possible enhancement in a future update.

We appreciate your patience and understanding.

0
KG
KMK Media Group
Accepted Answer
4 days ago #225276

Is there code I can place into the dynamic media field that would only display if a video is selected? Or a way to turn off iframes from getting stripped? With joomla and the other editors I can allow iframes but I can't with the rich text editor and that seems like something that would be a beneficial to allow.

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 2 days ago #225332

Hello Shaun,

Thank you for the follow-up.

At the moment, there is no supported way to allow iframes inside the Dynamic Content rich text field. The content sanitization process is handled at the framework level to protect the site from potential security risks such as XSS (cross-site scripting), which is why all iframe-based content (including YouTube embeds) is automatically stripped.

Even if Joomla or other editors allow enabling iframe support, in this specific Dynamic Content field the sanitization rules are enforced independently, so it cannot be overridden or disabled from configuration.

Regarding conditional display of media fields, there is also currently no built-in mechanism to render video markup only when a value exists in the field. The video output is tied to the field rendering itself, so when the field is empty, the player container is still generated, which leads to the fallback message you are seeing.

I understand this limitation is not ideal for flexible layouts. I will share your feedback with the development team so they can evaluate possible improvements for conditional rendering and safer embed handling in future updates.

We appreciate your understanding and your input on this—it is valuable for improving the product.

0