Currently, if you examine the <media:content> elements for an
embeddable YouTube video, you'll see an entry with yt:format='5' that
looks something like:
medium='video' isDefault='true' expression='full' duration='2395'
The 'url' attribute of this element contains a URL pointing to the
YouTube Player instance that could be used to play back the video.
This URL currently corresponds to the ActionScript 2-based version of
our YouTube Player, which is several years old and effectively
The newer, ActionScript 3-based YouTube Player instance shares the
same base URL with an additional query parameter appended to it:
'version=3'. Once this upcoming change is implemented, we'll start
returning URLs pointing to the ActionScript 3 player in the
<media:content> element with yt:format='5'. The new element will look
very similar to
shockwave-flash' medium='video' isDefault='true' expression='full'
If your code queries the Data API, reads the value of this 'url'
attribute and then uses that URL to embed the YouTube Player on your
web page (via SWFOject or otherwise), then you will start embedding
the ActionScript 3-based player automatically once this change is
implemented, and no action should be required.
The only anticipated compatibility issue is for developers who are
taking that URL value and using it to embed the YouTube Player using
an ActionScript 2-based Flash parent container rather than a web page.
We believe only a very small number of developers are doing this, but
if you are one of them, please update your code to explicitly request
a player URL using the version=2 URL query parameter. Alternatively,
you could take the opportunity to update your code to use ActionScript
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |