[wp-trac] [WordPress Trac] #10337: Easier embeds for 2.9 (oEmbed perhaps?)
WordPress Trac
wp-trac at lists.automattic.com
Tue Oct 13 20:01:53 UTC 2009
#10337: Easier embeds for 2.9 (oEmbed perhaps?)
----------------------------+-----------------------------------------------
Reporter: ryan | Owner: Viper007Bond
Type: task (blessed) | Status: assigned
Priority: normal | Milestone: 2.9
Component: Shortcodes | Version:
Severity: normal | Keywords: needs-testing
----------------------------+-----------------------------------------------
Comment(by Otto42):
Question: YouTube does support oEmbed. Even has discovery. So, why a
special handler for it?
oEmbed link:
http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v%3D-
UUx10KOWIE&format=xml
And in the source of the video's html page here:
http://www.youtube.com/watch?v=-UUx10KOWIE
You find this:
{{{
<link rel="alternate" type="application/json+oembed"
href="http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v
%3D-UUx10KOWIE&format=json" title="Jude Law: My Take On Peace Video
Contest" />
<link rel="alternate" type="text/xml+oembed"
href="http://www.youtube.com/oembed?url=http%3A//www.youtube.com/watch?v
%3D-UUx10KOWIE&format=xml" title="Jude Law: My Take On Peace Video
Contest" />
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10337#comment:37>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list