Widgets.js and callback



I need to know when a tweet is embed AND full loaded to track the final height.
Here is a test with an ugly setInterval http://jsfiddle.net/qWHc5/5/ (refresh the page to see different display time).

I found something in this js : https://gist.github.com/johan/4479186 but don’t know how to make my own callback function.