Youtube as3 API似乎不再起作用

我正在使用as3 Youtube官方API,我需要将这个API播放器加载到一个swf文件中。

我已经完成了几个项目,一切都很好,但几个小时后,我的所有项目都破了。

这是一个崩溃的代码片段:

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"));

现在发送一个空的且不很有用的IOErrorEvent:

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

由于昨天一切正常,我使用YoutubePlayer检查了其他Flash网站,并且它们都看起来已经损坏。

有没有人遇到同样的问题? Youtube并没有说这个。

要完成我的请求,即使在我的浏览器中加载http://www.youtube.com/apiplayer?version=3也会引发调试玩家错误! 谢谢 !


Youtube目前已经关闭,现在已经有大约一个小时了:http://downrightnow.com/youtube#refresh

链接地址: http://www.djcxy.com/p/66691.html

上一篇: Youtube as3 API seems not functional anymore

下一篇: Convert contour (MatplotLib or OpenCV) to image of the same size as the original