Search code examples
vimeofroogaloop

Pause Vimeo video from separate a href click


I am looking to be able to pause a vimeo video from a separate click event.

here is an example of what i am trying to do.

http://jsfiddle.net/isimpledesign/QsfF7/7/

I am trying to pause the video via the link.

Can anyone set me in the right direction pls.


Update:

Thank you. Squeeks is right, you just need to go over to github get the files, froogaloop.js

sorted

working example here

http://isimplesnippets.com/isimplesnippets/vimeo-api/


Solution

  • You need to use the froogaloop library in order to interact with the player as you're using the iframe embedding and not the older, flash specific. They have example code on github and documentation for their API available.