Wednesday, January 11, 2012

[YouTube-API] javascript api not calling my function

I'm currently making an app engine app that heavily uses the python gdata api.
To embed videos into the page, I'm using the nested objects technique, as described in the swfobject.js documentation. The player url I'm using is the return value of the GetSwfUrl method that every VideoEntry object has. If I could get a video's id, I could just use that, and use the url's as specified on the javascript api documentation, but I can't, because I'm pulling videos from playlistvideofeeds, where video id's are different. Embedding a video via the VideoEntry's GetSwfUrl method works, but my onYouTubePlayerReady function is never called.

I hope someone can help me with this.

thx in advance.

--
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/-/N3sLpbswOGwJ.
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