Modal Video CMS

EDIT: I tried to add a video media element to a dynamic div in my CMS.

Here is my CMS set up:

The green video icon on my div appears when the video switch is on and a webflow native lightbox-modal appears when the icon is clicked. In this modal the video element is linked to the URL in my CMS.

The probem is that I have two seperate URL’s but the same video displays for both divs when I click either icon.

Any ideas?


Here is my public share link: LINK
(how to access public share link)

Hi @moofawsaw

Can you share your read-only link please?

Here is the link

And here is the published page:

Click the green video icon to see the modal.

Thanks for the help!

I also need to get the like button from this post to sync with the save div/ CMS: LikeBTN + CMS dynamic items

Right now both aren’t tied into the CMS.

Thanks again,

Hi @moofawsaw so the issue is that you have an interaction on the “Car Video Link” which is opening all of the “Card Video Modal” elements.

If you take your Car Video Link, and move it outside of your parent “Card” element so that it is a Sibling to your “Card Video Modal” element like this:

Then update your interaction to only affect the sibling elements then it will only pull up one modal at a time and the videos are playable as you can see in this clone of your site:

1 Like

Thank you for the answer! It works great.

1 Like

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