In case you haven’t heard, YouTube has released a new API to make it easier for Flash and JS developers to use YouTube content. Without even touching the API I have already seen some benefits. The old youtube player used to get stageWidth and stageHeight and attempt to scale itself. This worked fine for people who were simply enbeding the player into their HTML pages but obviously posed a problem for people trying to put the player on their Flash pages. I just fired up an old file I was working on and the new YouTube player swf works exactly as you’d expect it to, namely, the player constrains itself to the dimensions of it’s parent clip. Some of the other changes allow you to import a chromeless video (even the controls are stripped) and then control the video through your own code. For people who where already taking flv’s from YouTube’s website, non of this will change anything. But for people who where unsure about whether or not it was kosher to pull the flv’s, and by extension refrained from doing so, these changes will be much welcomed. It provides all the benefits of directly pulling the FLV while simultaneously being blessed/endorsed by YouTube. They’ve also given the ability to upload videos from your own site.
New information about the youtube AS3 API can be found here: http://www.scotflash.co.uk/blog/?p=442