New Embed Code

We’re going to start testing a new embed code through the OEmbed API today. The new code is a good bit shorter than the old one, will validate properly, and should work in all browsers.

We’re adding a new parameter, xhtml, for you to use to specify if you want the code returned as HTML or XHTML; It will default to XHTML if you omit the parameter.

Let us know on the forums if you run into any trouble with it.