[wp-hackers] Strange oEmbed behavior

Oliver Schlöbe office at wpseek.com
Sat Jan 23 19:21:10 UTC 2010

Do those YouTube videos who do not embed properly have Embedding turned on?


Oliver Schlöbe


-- Code so clean you could eat off it.

On 23.01.2010 19:53, Jordi Canals wrote:
> Hi all,
> I have an strange behavior embedding files on my theme. I did the same
> checks with videos from YouTube and Vimeo and some of them fails only with
> YouTube videos (With Vimeo no problems).
> This is when you just paste the video page URL to the post or page content:
> - Setting the video embedding width to 560, 580, 610 or 620 pixels width the
> videos embbed with no problems and the pasted URL. The same if the media
> embed width is empty.
> - Setting the video embedding width to 590 or 600 pixels fails and only the
> URL is shown on the post as plain text.
> My theme does nothing with the videos, and it works with no problems with
> Vimeo videos.
> Browsing the embedding classes (WP_oEmbed) I did not found anything made
> different as them use oEmbed standard calls and addresses as stated at
> http://www.oembed.com/ and in the YouTube API blog
> http://apiblog.youtube.com/2009/10/oembed-support.html
> Do you thing this can be a YouTube oEmbed bug or a bug withing WordPress?

More information about the wp-hackers mailing list