I\'m trying to recognize the onPlay, onPause, and onFinish event for vimeo using the froogaloop API. I\'ve tried everything I could imagine with this thing, and no luck.
Got an error creating the player element when selecting the iframe with jQuery.
var iframe = $('#player1');
var player = $f(iframe);
Results in
TypeError: d[f] is undefined
Solution for me was to select the first element in the jQuery ID selector
var iframe = $('#player1')[0];
var player = $f(iframe);