How can I enlarge an embedded video after a form submission in HubSpot?

Hi HubSpot Community,

I’m looking for a way to make an embedded video larger on a HubSpot form once someone submits the form. Specifically, after the form submission, I want the video to either expand or change its size for a better viewing experience for the user.

Has anyone implemented this before or have suggestions on how to do this using custom code or any workarounds? I appreciate any help or guidance!

Thanks in advance!

Moderator Note: This post was reviewed for relevancy and optimized for clarity on April 1, 2026. Thank you for your contributions to the HubSpot Community!

Hi @DDias28!

What I do in these cases is research a LightBox solution and put a link near a small image or video that offers to make it bigger for the viewer. I do leave it up to the viewer so they feel like they have some control over the situation.

If you can offer the video small on the page, and a link to view it bigger, the link would launch a LightBox where the video is embedded in a larger overlay view.

You’ll have to research a solution that will work with your setup and theme, but that’s where I’d start.