Streaming live at 10am (PST)

How do I add javascript or jquery script to a button or text in Webflow


I have created a modal and I want to stop the Youtube video from playing in the background when the modal is closed. How do I add the code to a button or text? If you check on my site, I have a Link Text that I want to add the embedded code too, but it is not working?

Adding a custom code to an element in Webflow?

You can find this helpful: