I have a page that is powered by the CMS. It displays a number of headshots and names, and when the headshot is clicked it will open a pop up with a video inside of it.
I wrote some code to play the video on click of the element that opens the pop up and pause it when the user clicks the “exit” area outside of the video.
I’ve tested my click functions to make sure everything is registering, and it is. But for some reason it just won’t start the video or pause it like it’s supposed to.
Any help would be greatly appreciated, the code is located within div block 4 within the CMS item itself. THere is an element named bubble modal and within that there is the content for the pop up including the HTML embed.
If you use the Lighbox component, and hack its style to make it look like you want, it will take care of shutting the video off when the lightbox is exited.
Yeah I figured - thank you for the response. The client had already set it up with the CMS so I was hoping I’d be able to avoid that but no clue as to why the code is not working