Skip to content

Instantly share code, notes, and snippets.

@davidpelaez
Created September 17, 2012 07:04
Show Gist options
  • Save davidpelaez/3735964 to your computer and use it in GitHub Desktop.
Save davidpelaez/3735964 to your computer and use it in GitHub Desktop.
playerIsReady:(id)=>
#console.log "#{id} vimeo player is ready"
#The methods in these events must be addressed by their complete name, as the backbone
#notation doesn't work with froogaloop.
@player.addEvent('finish', VimeoVideoView.prototype.finish)
@player.addEvent 'finish', ->
console.log "Video finished"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment