Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Youtube as3 API seems not functional anymore

I'm working with the as3 Youtube official API and I need to load the API Player in a swf file.

I've done it on several projects and everything was fine but since a few hours, all my projects are now broken.

Here's the piece of code that is crashing :

Security.allowDomain("www.youtube.com");
loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.INIT, playerLoaded);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, playerError) ; 
loader.load(new URLRequest("http://www.youtube.com/apiplayer?version=3"));

An empty and not very helpful IOErrorEvent is now sent :

   [ErrorEvent type="onError" bubbles=false cancelable=false eventPhase=2 text=""]

As everything was OK yesterday, I've checked other flash sites using YoutubePlayer and they all seem damaged.

Is anyone running through the same issue? Youtube doesn't say anything about this.

To complete my request, even loading http://www.youtube.com/apiplayer?version=3 in my browser throws an debug player error! Thanks !

like image 548
babeuf Avatar asked Nov 29 '12 09:11

babeuf


1 Answers

Youtube is currently down, and has been for about an hour now: http://downrightnow.com/youtube#refresh

like image 150
Eric H Avatar answered Sep 29 '22 04:09

Eric H