Tuesday, March 6, 2012

[YouTube-API] Re: Youtube Javascript API not returning player functions with certain browsers?

Hi there Jeffrey!

I am trying to create a custom player which utilizes the Youtube Chromeless Player API, without the Javascript methods being returned I cannot control the player with Javascript. 

I looked through the terms and yes, the 14 points of prohibitions, I don't see how the app is going against the terms and conditions. If you're worried about the "Download Song" feature, I'm sorry that this causes confusion but we're planning to allow users to buy the songs through iTunes or Amazon in the near future, not download the YouTube video itself. We are NOT offering the users to download the video, no way. 

And yes, we do not block any YouTube ads and we allow users to open or close them as they see fit. 

No, we're not circumventing or interfering with YouTube's API, we are trying to use it and it's not working well, lol. 

Can I know what other concerns you may have Jeffrey so that we can work something out? :) 

Anyway, I created a temporary fix to the problem by reinitializing the YouTube player instance again and again, until there's one instance that returns the methods correctly. The latest release of Firefox seems to have this problem as well. 



Grey

On Tuesday, March 6, 2012 6:55:16 AM UTC+8, Jeffrey Posnick wrote:
Hello Grey,

 Please familiarize yourself with the YouTube API Terms of Service—in
particular the Prohibitions section:

  http://code.google.com/apis/youtube/terms.html

Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev


On Mar 5, 1:08 am, Grey Ang <conan...@gmail.com> wrote:
> Hi guys!
>
> I am experiencing this problem right now with the Youtube Javascript API,
> when I load the first video, the player object returned contains all the
> functions to the video player:http://i.imgur.com/0cI4h.png
>
> But the second video that loads it doesn't:http://i.imgur.com/qc8gX.png
>
> And the problem is apparently this only affects certain browsers, I can't
> really pinpoint what's the connection. Everything works fine perfectly on
> my Google Chrome and Safari on my Macbook Pro, it works fine on my
> colleague's Macbook Air's Google Chrome but not his Safari, and a couple of
> our users that are using Google Chrome on Windows are experiencing the
> problem.
>
> Anyone have any ideas why this happen?
>
> The website ishttp://www.attictv.comby the way, to replicate the problem,
> just enter the site, load a video, and click on Skip Video or switch to any
> channel, if the next video you loaded is not playing, then the problem
> occurs. Can anyone tell me if this problem appears in your browser and OS
> as well?
>
> Grey

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/TP_C8qiJPZEJ.
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