Skip to content

Commit

Permalink
sync
Browse files Browse the repository at this point in the history
  • Loading branch information
kylejginavan committed Sep 6, 2010
1 parent 269d0bf commit 39db064
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 82 deletions.
5 changes: 5 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ Upload videos:

client = YouTubeIt::Client.new("youtube_username", "youtube_passwd", "developer_key")

Or better yet, you can use OAuth

client = YouTubeIt::OAuthClient.new("consumer_key", "consumer_secret", "youtube_username", "developer_key")
client.authorize_from_access("access_token", "access_secret")

* upload video

client.video_upload(File.open("test.mov"), :title => "test",:description => 'some description', :category => 'People',:keywords => %w[cool blah test])
Expand Down
7 changes: 6 additions & 1 deletion lib/youtube_it/chain_io.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def initialize(*with_ios)
def read(any_buffer_size)
__getobj__.read(BIG_CHUNK)
end

def length()
__getobj__.expected_length
end

end

#:startdoc:
#:startdoc:
81 changes: 0 additions & 81 deletions youtube_it.gemspec

This file was deleted.

0 comments on commit 39db064

Please sign in to comment.