If you are using HTML5 or XFBML, you need to download the JavaScript SDK on YouTube to calculate the loading time of your pages, since the external script resource is directly embedded in your code. (Although it usually loads asynchronously, it doesn’t slow down the rest of the page, nor does it delay the load event.)
The iframe version, on the other hand, loads "on its own." Only iframe element code is on your page, and loading its actual content is seen as loading a completely unrelated page by the browser. ever a lot of time to load an iframe document (in case Facebook is “down” or temporarily temporarily), it will not affect your own page and its loading event in any way.
Despite these facts, Id usually comes with either HTML5 or XFBML — not so much based on the factors described, but because I feel that I have more “control” over them (for example, without activating them immediately, but perhaps they figured out only after some user interaction with the page or so).
source share