How to stop a Vimeo or Video by close with Jquery

In some of the cases when we close the button of a modal or popup in which our Video or Vimeo is playing. after closing the Vimeo or video still playing.

Do not worry. we can close this simply by Jquery.

First, you need to add an id to the iframe.

That’s it…!!!