YouTube AS3 Player API错误代码0 [英] YouTube AS3 Player API Error Code 0

查看:156
本文介绍了YouTube AS3 Player API错误代码0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近使用AS3 Player API获取了很多错误代码0。我决定从香草玩家分开我的应用程序,以确保错误不是由我的应用程序引起的。为此,我按照 https://developers.google.com/youtube中的说明在Flex中构建了独立的AS3PlayerShim示例/ flash_api_reference



这个问题在AS3PlayerShim的构建中是可重现的。许多视频给我错误代码0,这是没有记录在Flash API参考中。以下是播放时错误代码为0的示例YouTube ID。新的Vevo品牌音乐视频似乎有一些相关性,并得到错误代码,但似乎并没有明显的趋势。有没有人遇到这个问题之前,或知道什么是0错误代码的意思?

以下是一些错误代码为0的YouTube ID的例子:



eDdI7GhZSQA
S09F5MejfBE
QUwxKWT6m7U
TAbnQZZ6QXc

谢谢。

解决方案

这已经发布很久以前,但我最近经历了同样的问题。
原因,至少与我的是,我使用的是loadVideoById(),并传递完整的YouTube网址
我只发现这一点,当我追踪到的网址。


I've recently been getting lots of error code 0 using the AS3 Player API. I decided to separate my app from the vanilla Player to make sure the error was not caused by my app. For this I built the standalone AS3PlayerShim sample in Flex following the instructions from https://developers.google.com/youtube/flash_api_reference

The problem is reproducible in the build of the AS3PlayerShim. Many videos are giving me error code 0, which is not documented in the Flash API Reference. Below are example YouTube IDs that give an error code of 0 on playback. There does seem to be some correlation of the newer "Vevo" branded music videos and getting the error code, but there does not seem to be a clear trend. Has anyone run into this issue before or know what the "0" error code means?

Here are some examples of YouTube IDs that give error code 0:

eDdI7GhZSQA S09F5MejfBE QUwxKWT6m7U TAbnQZZ6QXc

Thanks.

解决方案

this has been posted long ago but i experienced same issue recently. The cause, atleast with mine is that i was using the loadVideoById() and was passing in the full youtube url i only discovery this when i traced the url.

这篇关于YouTube AS3 Player API错误代码0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆