Stop youtube video from playing without using the light box

I created my own lightbox to appear when I click on a text link. In that lightbox I have a youtube video that plays when you hit play. the problem is when I close the lightbox, the youtube video continues to play with audio in the background. is there a function I’m missing or that I can add to have the youtube video to stop playing once this custom lightbox is closed?

please help. I’ll answer any question if this does not make sense.

here’s my link at the bottom click on “DTV ANSWERS” then close it. you will see what i mean.

http://kjla-tv-studios.webflow.io/

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