Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script type="text/javascript">
jQuery('iframe.vimeo').each(function(){
Froogaloop(this).addEvent('ready', ready);
});
function ready(playerID){
Froogaloop(playerID).addEvent('play', function(data) {play(playerID);});
}
function play(playerID){
alert(playerID + " is playing!!!");
}
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment