JoeDag32

Recent Videos

Thanks to the API provided by YouTube I was able to use a script to make REST calls from my channel on YouTube to automatically post my most recent videos uploaded on this blog.

The REST call is simple:

http://www.youtube.com/api2_rest?method=youtube.videos.list_by_user&dev_id=id&user=user

It returns the following:

  • author
  • id
  • title
  • length in seconds
  • average rating
  • number of ratings
  • description
  • number of views
  • time of upload
  • number of comments
  • tags
  • url
  • thumbnail url
  • embed status

Then I wrote a script using the YUI Connection Manager to call it into the page.

I’ve gotta do some CSS styling still, but the basic functionality is there.

No comments yet. Be the first.

Leave a reply

Copyright © 2007 - 2012 joedag32.com