An introduction to Youtube Chromeless Player

4 commentaires
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 :

loader

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 :

FlashForward-mini(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

Palleas

Avec plaisir! Je t'ai envoyé un mail :)

2009-12-01 9:27 am

Xevo

Can you make a documentation or a tutorial on how to put this into a site?

Greatly appreciate it,
Xevo

2009-12-16 11:36 am

Palleas

I'm currently working on it w/ Lionel, but as soon as there is something "usable", I will definetly blog about it :)

2009-12-16 11:49 am