Video in popup iframe doesn't stop playing on close jQuery mobile

Video in popup iframe doesn't stop playing on close jQuery mobile

Hello,

I have embedded a Vimeo video into my jQuery mobile popup using the iFrame that it suggests.

The video works fine until you close it by clicking outside the video div. The video goes away but it still plays in the background. You can hear it playing and then when you launch the video popup agsain, the video is stil playing.

Anyone know of a solution please?

Thank you