> There's a slight problem, however; it only works with a set of objects
> taken from someone's Youtube channel.
>
> Again, if you look at the image I've posted at the start of this
> discussion, under the title of a track e.g. "Are you experienced"
> simply lies a link to a certain Youtube video; we'd want it to open in
> a predefined space on the right hand side (as per image). After the
> playback's over, it would proceed to the next one (Foxy Lady in this
> example) and so on. So essentially, we'd like a have an external
> playlist, based on the Youtube API. The playlist would be generated by
> us but the content would be found on Youtube itself.
Jeff's example does use a specific playlist feed from YouTube - but
that's just an example.
What you describe is relatively easy to achieve - how you do it is up to
you (presumably on the client side with javascript).
It sounds like you're stuck with how to actually write the code - I'd
start with reading through the documentation for the javascript API
here:
http://code.google.com/apis/youtube/js_api_reference.html
(There's also the newer iframe API that's linked to from that page -
it's up to you which you choose to use, but the iframe one is still in
beta)
You can also look at an example I wrote here that uses a playlist in
JSON and uses that to control which videos are played back:
http://www.viraladnetwork.net/blog/2010/json-youtube-playlist/
beyond that it's fairly much up to you to write the code to do it - feel
free to post specific problems you come across.
Tim Wintle
--
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