Video Embed in Content Area Modal

How do I make this video fill the content modal… like shown above.
I originally set it up with the new modal element but saw that I had to use the older content area modal so that the video stops playing when closed… I don’t see any size settings as with the new modal element and changing the iframe size doesn’t work .

It looks like this with the content area modal setup

1 Like

Hey @noizepro,

Our development team has put in place a “currently” hidden feature to reset the content of the Modal element when it’s closed and that’s the data-rvt-offscreen-reset attribute. You need to add that in the Video element’s Custom Attributes like the screenshot below. That will stop the video from playing when you close the modal.

image

In case you want to continue using the Content Area Modal (not recommended), check out the setup in the video below.

Hope that helps.

2 Likes

Thank you for the quick response. That worked perfectly!

Hi @noizepro,

Glad that we are able to help you.

Thanks

1 Like

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