My mistake, it's wp_oembed_get(). The first parameter is the URL. The second is an array of arguments. Available arguments: discover => true/false - enables oembed discovery. width => number height => number - max widths and heights -Otto