Thanks for getting back to me. To clarify, I have an html file running locally on my computer. It has internet access and is pulling down a list of youtube videos and loading them with javascript. I believe that there are couple of things happening that might be leading to blacklisting. For example, that the eurl parameter is set to "unknown" and the iFrame api makes a call to get_video_info().
While I have your attention. Another issues I have noticed is that if you create a YT player object an iframe is created, however, if you destroy or remove that iframe object before an initialization process is complete and the onReady callback is triggered you get a javascript error of "cannot postMessage of NULL"
Any thoughts?
- chris allick
On Jul 21, 2011, at 11:26 AM, Jeffrey Posnick wrote:
> Hello Chris,
>
> I don't know what you mean by non-hosted, local playback. How exactly
> are you using the <iframe> embed?
>
> The implementation details of how the <iframe> embed talks to YouTube
> isn't relevant to the origina API discussion, as it's not considered
> part of the public YouTube API.
>
> Cheers,
> -Jeff Posnick, YouTube API Team
> apiblog.youtube.com | @YouTubeDev | groups.google.com/group/youtube-
> api-gdata
>
>
> On Jul 18, 10:04 am, chrisallick <chrisall...@gmail.com> wrote:
>> Hi Jeff,
>> I noticed that the iFrame API makes a call to get_video_info(). If
>> you are running a non-hosted file, locally for example, but trying to
>> use the iFrame API the calls to get_video_info send the paramater eurl
>> as "unknown." I think this can lead to the 402 error. I looked at
>> the API example for the JS api that uses Flash only and there is never
>> a call to get_video_info(). Anyway to get rid of that get_video_info
>> call in the iFrame API/what to do to get eurl to be something
>> meaningful to avoid the blacklisting?
>>
>> - chris allick
>>
>> On Jul 8, 4:16 pm, Jeffrey Posnick <je...@google.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>> Hello Alex,
>>
>>> That's not a supported API for accessing a video's info.
>>
>>> If you want to retrieve information about a video, the YouTube Data
>>> API method for doing so is documented at
>>
>>> http://code.google.com/apis/youtube/2.0/developers_guide_protocol_vid...
>>
>>> Cheers,
>>> -Jeff Posnick, YouTube API Team
>>> ~ YouTube is hiring! ~http://google.com/jobs/workyoutube~
>>
>>> On Jul 8, 4:54 am, Alex Jin <kcgzer...@gmail.com> wrote:
>>
>>>> Hi Everyone,
>>
>>>> I had tried to get youtube video information by using get_video_info.http://www.youtube.com/get_video_info?&video_id=$video_id&el=vevo&ps=...
>>
>>>> But I got following http error.
>>>> *HTTP Error 402: Payment Required*
>>
>>>> Anyone will solve this problem, I have tried to fix this for 4 days. I had
>>>> reviewed Youtube API documention, but nothting.
>>>> I didn't fix still.
>>
>>>> PLEASE HELP ME.
>>
>>>> Best Regards
>>>> Alex
>
> --
> You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
> To post to this group, send email to youtube-api-gdata@googlegroups.com.
> To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.
No comments:
Post a Comment