Monday, June 4, 2012

[YouTube-API] API's "orderby=published" is the new shuffle

Retrieving videos from a playlist with reversed order causes thoses videos to be somewhat randomized. By example, an example of my music playlist:

At the left, the original playlist, as seen on YouTube, and reversed order too.

At the upper right corner, the query made on the demo page... SafeSearch set to none, so nothing is restricted.

At the right, the response. As you can see, only two of them are even in the 'first' seven videos.

In fact, as you can see by the number at the right, it doesn't follow any kind of order...

Too much colors? Okay, let's make it simpler. A playlist with 100 videos, titled with the number of their position. Let's see what does the API say to that...

Three random videos at the start? Why?

Could get it checked out? I'm not sure what could be happening.

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/sFYaeozPZCQJ.
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