Streaming live at 10am (PST)

Multiple modals with different videos. Repeat Actions?


#1

Hi, I'm creating a site that has multiple video links. These links open a modal overlay that contain a video player. I need to create multiple modals/videos. Is there a way to use the same action and have it effect combo class items?

I currently have "button 1" open the modal with "video 1" via an interaction that effects "modal 1"

I need "button 2" to open a same modal with different "video 2"

Is there a way to do this without creating multiple interactions?


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


#2

Hi @AaronRoot

Have you tried using the lightbox component? It accepts both images and youtube videos.

http://help.webflow.com/lesson/lightbox

hope this helps :smile:


#3

I haven't used the lightbox function yet. I guess I could recreate the links and images using that functionality. I don't always have a thumbnail or image as some are just text links. Not sure which effort is a better way.

For example I have a link block with a play button and text label, that would open the modal/lightbox


#4

You can drag in a Text Block within the Lightbox link element, then remove the placeholder thumbnail.


#5

Yes. I'm currently testing about the capabilities of those elements. I think this will solve most of my problems.

Is there a way to style the lightbox elements, such as the close icon?


#6

Not at this time. You will need to create custom code or interactions if you want custom styling of lightbox elements.


#7

Thanks @PixelGeek This looks like it's going to be a perfect solution.


#8

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