Video Stop Problem

Video Stop Problem

Hey, I'm having a problem on a portfolio site using jQuery.

at the slider place after the photos there are videos ( streaming from vimeo )

when you clicked play and opened the video and after from the buttons go to another photo
the video keeps running and giving its sound at the back.
I want the video stop after moving to another photo at the slider.

I tried from here and couldnt get a positive result :

Need help asap.

Thank you.