If your HTML5 video continues playing after closing a Webflow modal, you need to pause or reset the video when the modal is hidden. Webflow does not handle this automatically, so you'll need custom JavaScript.
modal-video
)..close-modal
). tag section:
```html```
This script detects when the close button is clicked and pauses/reset the video. Ensure your video ID and close button class match what you used in Webflow.