Is it possible to do a javascript action after play button is pushed? I know I will need to use onStateChange function form Youtube’s API. But I really don’t know where to start? Any help? Thank you.
—
I have also found something here: http://apiblog.youtube.com/2011/01/introducing-javascript-player-api-for.html
Here’s a solution that you should be able to extend easily: http://jsbin.com/evagof