Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Video#unique_id is nil when browsing playlist #54

Closed
kfigiela opened this Issue · 0 comments

1 participant

@kfigiela

Video#unique_id is nil when browsing playlist. Problem occurs because #video_id doesn't carry information on #unique_id. On the other hand, #unique_id is present in XML returned by YouTube API in yt:id tag in media:groupt

> client = YouTubeIt::Client.new
> client.playlist("21C62A3473376C47").videos[0].video_id
 => "tag:youtube.com,2008:playlist:21C62A3473376C47:PLyiwTzVYoxrm7UlMB2jGbokLoGU0nnBox"  # no unique_id here
> client.playlist("21C62A3473376C47").videos[0].player_url
 => "http://www.youtube.com/watch?v=aWEghdiY9cs&feature=youtube_gdata_player" 
> client.playlist("21C62A3473376C47").videos[0].unique_id
 => nil # returned, expected: aWEghdiY9cs
@kfigiela kfigiela closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.