There should be some way to get the underly video ids, though I do
remember that getting them using the Python client library and the API
v=1 was a pain. Something like
entry.id.text.split('/')[-1]
is hacky, but might work, depending on the source of the entry.
Cheers,
-Jeff Posnick, YouTube API Team
groups.google.com/group/youtube-api-gdata | apiblog.youtube.com |
@YouTubeDev
On Jan 11, 1:42 pm, Frederik Creemers <frederikcreem...@gmail.com>
wrote:
> 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 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