Engineering and Developers Blog
What's happening with engineering and developers at YouTube
PLaylists: now with more PL
Wednesday, August 22, 2012
If you ever pay attention to your browser’s location bar, you may have noticed that, for a while now, the YouTube.com website has used playlist IDs that are prefixed with the characters “PL” when constructing the URLs for playlist pages.
http://www.youtube.com/playlist?list=PL72CF07D200AA2AFA
is one example of that. This practice of prepended playlist IDs previously didn’t extend over to the Data API—
PL72CF07D200AA2AFA
would not have been recognized as a valid playlist ID, but
72CF07D200AA2AFA
would have.
Starting later today, Wednesday, August 22, the YouTube Data API will accept playlist IDs with the “PL” prefix whenever they’re used as metadata or in
API request URLs
. In most
responses
, the API will return playlist IDs with “PL” prefixes. The one exception is that for the next few days,
searching for playlists
will return playlist ids without the “PL” prefix. This will change on Tuesday, August 28, at which point the “PL” prefix will be included in playlist search results as well.
While we will continue to support using unprefixed playlist IDs as metadata or in API request URLs for the time being, at some point in the future we may require the “PL” prefix to be used whenever a playlist ID is provided. We’ll provide additional guidance if we do decide to stop supporting requests with unprefixed playlist IDs.
This change should be backwards compatible, but if you’re currently manipulating or comparing the playlist IDs that are returned via the API in any way, or making any assumptions about the length of the ID (which you shouldn't be), please make sure that your code will handle IDs that contain the “PL” prefix.
If you have any questions about this changes, please let us know in our
developer forum
.
Cheers,
—
Jeffrey Posnick
,
YouTube API Team
No comments :
Post a Comment
Labels
.net
acceleration
access control
accessibility
actionscript
activities
activity
android
announcements
apis
app engine
appengine
apps script
as2
as3
atom
authentication
authorization
authsub
best practices
blackops
bootcamp
captions
categories
channels
charts
chrome
chromeless
client library
clientlibraries
clientlogin
code
color
comments
compositing
create
curation
custom player
decommission
default
deprecation
devs
direct
discovery
docs
Documentation RSS
dotnet
education
embed
embedding
events
extension
feeds
flash
format
friendactivity
friends
fun
gears
google developers live
google group
googlegamedev
googleio
html5
https
iframe
insight
io12
io2011
ios
iphone
irc
issue tracker
java
javascript
json
json-c
jsonc
knight
legacy
Live Streaming API
LiveBroadcasts API
logo
mashups
media:keywords keywords tags metadata
metadata
mobile
mozilla
news
oauth
oauth2
office hours
open source
partial
partial response
partial update
partners
patch
php
player
playlists
policy
previews
pubsubhubbub
push
python
quota
rails
releases
rendering
reports
responses
resumable
ruby
samples
sandbox
shortform
ssl https certificate staging stage
stack overflow
stage video
staging
standard feeds
storify
storyful
subscription
sup
survey
tdd
theme
tos
tutorials
updates
uploads
v2
v3
video
voting
watch history
watchlater
webvtt
youtube
youtube api
youtube developers live
youtube direct
ytd
Archive
2015
December
November
October
May
April
March
January
2014
October
September
August
May
March
2013
December
October
September
August
July
June
May
April
March
February
2012
December
November
September
August
Video Tags: Just for Uploaders
PLaylists: now with more PL
Party Playlist Picker: An experimental project wri...
July
June
May
April
March
February
January
2011
December
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
July
June
May
April
March
February
January
2009
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
2007
December
November
August
June
May
Feed
YouTube
on
Follow @youtubedev
No comments :
Post a Comment