Engineering and Developers Blog
What's happening with engineering and developers at YouTube
PixelJunk™ Eden: now fortified with YouTube APIs
Wednesday, July 23, 2008
Posted by Christine Tsai, YouTube Syndication Product Marketing Manager
Back in May, you may remember that we
announced a unique partnership
with the PLAYSTATION®3 (PS3
TM
) team which would allow game developers to integrate direct upload to YouTube from within PS3 games. We're excited that the latest game to feature YouTube upload functionality is
PixelJunk
™
Eden
, a PlayStation® Network title from the popular PixelJunk series.
For all you PixelJunk fans, you'll now be able to capture video of your game recordings and upload directly to YouTube. Here are a couple examples of videos captured in-game and uploaded to YouTube:
We've already seen the significant positive impact for games like
Spore
and
Mainichi Issho
and how gamers share & show off their creations. We look forward to the day when having YouTube upload support in games will be a standard feature.
As Q-Games President Dylan Cuthbert said on the
Playstation Blog
,
"The YouTube upload feature is going to revolutionize how people share tips".
We wholeheartedly agree!
Powered By YouTube - Event Videos and Slides Online
Monday, July 21, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
All of the videos, slides, and other materials used during our first "Powered by YouTube" developer event are now online and available for mass consumption:
http://sites.google.com/site/poweredbyyoutube
We had ~100 developers come and hang out with us at YouTube HQ. It was a full day, with talks ranging from best practices to the history of scaling up YouTube infrastructure and, of course, cookies, lunch and t-shirts. There were also some good discussions in our
Office Hours lounge
. If you're interested, the one-sheet Code Labs we had for working with the Data APIs in JSON and PHP are also available
online
.
Thanks to everyone for coming out, learning about the APIs, and sharing your feedback and questions with us. Special thanks goes to
Slide
,
Qik
,
Animoto
,
Gaia Online
, and
Helio
for
speaking about their experiences
working with our APIs and even walking through some code snippets.
Also, as a bonus, here's a bunch of us (Jochen, Jeff, myself) with Steve Mesa, the top poster in our discussion forum :)
Get your .NET on
Thursday, July 3, 2008
Posted by Jeff Fisher, YouTube APIs & Tools Team
If you've been following the progress of the
Google Data APIs .NET client library
, you may already know that we have just released
version 1.2.1.0
. This is good news for YouTube developers, as it finishes adding the class wrappers for the YouTube extension.
To correspond with this release, I've written a
.NET Developer's Guide for YouTube
, which explains how to perform all of the various API operations with notes and code snippets. This guide provides a nice starting point for those who haven't worked with our .NET client library before, but also provides a more complete reference for those have already started.
If you notice any typos or problems with our documentation, report them to the
YouTube developer forum
.
Feedback Time
Friday, June 27, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
Have you used the YouTube APIs? We'd like to hear about how it went, and get your thoughts on how it could be easier. If you have a few minutes, take our
survey
.
Punch and pie for those that complete it! (Well, not really, but you will help us improve the developer resources available.)
You can, of course, always give feedback in our public
discussion forum
as well.
Latest Release Notes
Wednesday, June 25, 2008
Posted by Daniel Danciu, Software Engineer
We have recently pushed a few updates to the YouTube API, so here's a quick overview of a few new features you can play with.
Restrict for videos that have location information
You can now restrict your search to videos that have an associated location (latitude-longitude pair). Simply add a 'location=' empty parameter to the URL of your query, whether it is search, or a query for uploads, playlists or favorites:
http://gdata.youtube.com/feeds/videos?location=
You'll notice that all results returned by the api now have a location returned in the
georss:where
tag:
<georss:where>
<
gml:Point
>
<
gml:pos
>
40.44263458251953 -79.94313049316406
<
/gml:pos
>
<
/gml:Point
>
<
/georss:where
>
This opens the gates for some pretty cool mashups that combine Google Maps and YouTube. (And closes out
this
feature request). We'll be doing some more work with geo in the future, so stay tuned.
Country request returned in the header
We now return the country the request came from in the
X-GData-User-Country
header of the response. For example, if you made the request from Switzerland, you'll see the following header in the response from the API server:
X-GData-User-Country: CH
This is useful in a few cases, the most common of which is an authenticated request to a user's own upload, favorites or playlists feed. The API will, in this case, return all videos in the feed, including the videos that are restricted in the country where the request was made from. Combine
X-GData-User-Country
with the
tag to filter out these videos (for example, you can show the video's thumbnail but disable the playback).
Please note that in order to be able to view all videos of a user (including restricted or private videos), the request has to be authenticated and should not contain additional filtering parameters (like
format
or
vq
).
Don't forget that if you have your own website, you can always forward to the API (and we encourage you to do so) the country of origin or IP of origin of your requests using the
restriction=
parameter. This will ensure that videos are properly filtered for the location where your user is. In this case, the
X-GData-User-Country
response header will return the country specified in the
restriction
parameter.
New Standard Feed: Most Popular
There's a new standard feed out there:
http://gdata.youtube.com/feeds/api/standardfeeds/most_popular
It is different from most_viewed or top_rated in the sense that it uses a smarter algorithm to evaluate the popularity of a video. Oh, and if you're an international user, don't forget that the API supports standard feeds for all the countries YouTube does. For example, if you are interested in most popular videos in Germany, du kannst einfach:
http://gdata.youtube.com/feeds/api/standardfeeds/de/most_popular
** This is now called "Rising Videos" on the main site.
Same Authsub tokens for uploads.gdata.youtube.com and gdata.youtube.com
You can now use the same AuthSub token to query a user's inbox, to update a playlist or to upload a video, even with secure AuthSub. No need for hacks. Read more about AuthSub for YouTube in
the docs
.
Programmatic login token is valid for 2 weeks
We have extended the life time of the authentication token obtained via
ClientLogin
from 1 day to 2 weeks. This will hopefully enable a better user experience for all clients of installed applications by not forcing them to login every day.
Enjoy! If you have any questions or feedback, visit us in our
developer forum
.
Python client library support for the YouTube API
Friday, June 20, 2008
Posted by Jochen Hartmann, YouTube APIs and Tools Team
I'd like the announce the release of the
Python client library
extensions for YouTube, as well as the
developer's guide
and
two sample applications
.
The samples use the Python client library with
Google App Engine
to demonstrate how to perform a
parametrized search query
and
browser-based uploads
.They are improved versions of the samples that Stephanie and I built for our
Code Lab
at Google I/O last month.
Happy coding! As always, if you have questions or comments, share them with us in our
developer forum
.
Fn ( Fried (Macaroni, Cheese), Creativity (EA, YouTube) ) = Awesome Spore Videos on YouTube
Tuesday, June 17, 2008
Posted by Nikhil Chandhok, Product Manager - YouTube Syndication
Last March, over a lunch of fried macaroni and cheese, folks from EA and YouTube doodled about bringing the power of user-generated content to video games. After awhile, we decided that it would be cool if people could share their in-game user-generated content on YouTube as a way of demonstrating their super gaming skills, sharing accomplishments, and eventually telling more elaborate stories.
Today, we are happy to announce that our doodles have turned into reality with the launch of
EA's Spore Creature Creator
with YouTube APIs built into it, allowing users to share their creativity with others. Starting today, users can download the Creature Creator, build a wacky creature, and then upload their creations directly to YouTube. We
announced this back in March
and needless to say, we're ecstatic that the Creature Creator is now open for business. A pretty active community on YouTube has already
uploaded
thousands of videos.
I've highlighted some of my favorite creature videos, all uploaded from the Creature Creator:
If you haven't tried creating your own creature, you can download the Creature Creator from the
Spore website
. You can even enter your creature in EA's Ultimate Spore Creature Creator Dance-off contest. More information about this contest is available on the
Spore YouTube channel
. You can also try out YouTube's
AudioSwap
feature to set your creature's dancing to music.
As the world of the web and gaming meet, we are looking for interesting ways to create new entertainment experiences. In May, we
announced
a similar partnership with Sony Computer Entertainment which gives PS3 game developers a simple way to incorporate video upload into their video games. We continue to explore this very new and interesting space and hope that developers will continue to use our APIs in new and exciting ways!
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
Chat it up, streamers! New Live Chat, Fan Funding ...
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
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