Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mattetti committed Sep 25, 2008
1 parent 75e8cd5 commit 616c376
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README
Expand Up @@ -10,7 +10,7 @@ Usage:

require 'rubygems'
require 'gvideo'
user = Gvideo::User.new("005148908335059515423")
user = Gvideo::User.new("A005148908335059515423")
videos = user.fetch_videos
videos.first.embed_player

Expand All @@ -27,3 +27,6 @@ Video methods and attributes:
* embed_player (html snippet with the google video player)

Check lib/gvideo.rb for more

You can find a user's id by using firebug and inspect the call made to "see more videos from a user"
I don't know a better way at the moment
3 changes: 1 addition & 2 deletions lib/gvideo.rb
Expand Up @@ -4,13 +4,12 @@

# Retrieve the videos associated to a user (limited to 100 videos)
#
# The user id can be found by clicking on
# Usage example
# 005148908335059515423
# user = Gvideo::User.new("005148908335059515423")
# videos = user.fetch_videos
#
# You can find a user's id by using firebug and inspect the call made to see more videos from a user
# You can find a user's id by using firebug and inspect the call made to "see more videos from a user"
#
# $Gvideo_verbose = true # set this constant to true in your app to see some debugging output

Expand Down

0 comments on commit 616c376

Please sign in to comment.