How to stop a Vimeo or Video by close with Jquery

IN some of the cases when we close the button of a modalor popup in which our Vodeo 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…!!!