You can use the Froogaloop library. Here is a link to download: https://github.com/vimeo/player-api/tree/master/javascript
There is a detailed example of using it on the Vimeo developer website under the section "Calling the API with Froogaloop": http://developer.vimeo.com/player/js-api