A few weeks earlier, Google released a chromeless player for Youtube. The last one was using Actionscript 2 (*sigh*) and you had to use a crappy proxy to use it with Actionscript 3. This one is really great cause you don't have to "bother" with a swc file, all you have to do is to load a swf file :
var loader : Loader = new Loader();loader.contentLoaderInfo.addEventListener(Event.INIT, _onLoaderInit);loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3"));
var loader : Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, _onLoaderInit);
loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3"));
Problem is, there is a lot of methods coming with this player and you can't have introspection with FlashBuilder, FDT or whatever you're using.
That's why I created a simple library to use it. It's not done yet, I still have comment work to do, and a few things I'd like to implement (dispatching more events, being able to get snapshots, and a few things like that).
You can get this library on Github, all feedbacks are welcomed!
A few weeks earlier, Google released a chromeless player for Youtube. The last one was using Actionscript 2 (*sigh*) and you had to use a crappy proxy to use it with Actionscript 3. This one is really great cause you don't have to "bother" with a swc file, all you have to do is to load a swf file :

Problem is, there is a lot of methods coming with this player and you can't have introspection with FlashBuilder, FDT or whatever you're using.
That's why I created a simple library to use it. It's not done yet, I still have comment work to do, and a few things I'd like to implement (dispatching more events, being able to get snapshots, and a few things like that).
You can get this library on Github, all feedbacks are welcomed!
I'm working on a more detailed example as soon as I added everything I wanted :
(By The way, Flash Forward is a really great (and addictive) show)
Lionel
Hello,
Je travaille aussi en ce moment sur un player de vidéo youtube avec leur player. j'ai vu que tu avais commencé un projet sur github... Est ce c'est possible d'y participer ?
2009-12-01 9:09 am