I work with the official as3 Youtube API, and I need to load the API player into a swf file.
I did this on several projects, and everything was fine, but from a few hours all my projects are now broken.
Here is a piece of code that crashes:
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"));
Now an empty and not very useful IOErrorEvent is sent:
[ErrorEvent type="onError" bubbles=false cancelable=false eventPhase=2 text=""]
As yesterday everything was in order, I checked other flash sites using YoutubePlayer and they all seem to be corrupted.
Does anyone work on the same issue? Youtube says nothing about this.
To fulfill my request, even when downloading http://www.youtube.com/apiplayer?version=3 , a debug player error is thrown in my browser! Thank you
babeuf
source share