Engineering and Developers Blog
What's happening with engineering and developers at YouTube
YouTube Developer Happiness Survey
Wednesday, December 17, 2008
Posted by Stephanie Liu, YouTube APIs and Tools Team
It's that time again -- survey time. If you're a YouTube API
developer, we'd love to know how it's going and what we can do better. Take a few minutes and fill out our
survey
.
We always welcome feedback in the
discussion forum
of course, but this is a good way for the team to look at some aggregate data and determine where to put resources next year.
YouTube Google Desktop Gadget
Tuesday, December 9, 2008
Posted by James Yum, Google Desktop Team
Google Desktop
just got its own
Desktop gadget
for YouTube. It relies on
Data API
feeds to search YouTube and retrieve a feed of the day's most popular videos. It's also
open source
, so browse the source code to learn how to build a desktop app that uses the YouTube APIs. If have any questions or feedback, send an email to gd-developer AT gmail DOT com.
YouTube Integration in Games
Monday, December 1, 2008
Guest Post by Claus
Höfele, Software Developer at Team Bondi
We have a guest blog post today by Claus Höfele, an
Engine Programmer at Team Bondi, an independent
game developer based Down Under. He has a detailed
article
featured in
Gamasutra.com
about how to integrate YouTube upload into a game, much like how it's integrated in
Spore
. In addition to working with game consoles, Claus has a long history in developing software for mobile devices and is the author of
Mobile 3D Graphics: Learning 3D Graphics with the Java Micro Edition
.
For some time now, I've been interested in how social networks can be incorporated into games. With the rise of multiplayer games, I believe this will be the next big thing for network-enabled games. Watching videos on YouTube is a favourite pastime of mine, so it didn't take long for me to decide that I wanted to check out the steps necessary to add a video recording feature to my games and share the recordings on YouTube.
Games are often written in C/C++, which allows a programmer to structure the code in a modular way, but also to program to the bare metal when needed. Although YouTube announced a partnership with Sony in which it offered its APIs on the PLAYSTATION 3, there's no publicly available C/C++ API to access YouTube. Fortunately, with the help of the
developer documentation
, YouTube's HTTP based protocol is straightforward to implement yourself. I used libcurl (HTTP processing), OpenSSL (HTTPS), and TinyXML (XML parsing) to help me with this task.
Wrapping my head around the available authentication options was probably the most difficult task. In the end, ClientLogin was the method of choice because my game demo is distributed as a standalone desktop application.
I was glad to see support for videos encoded in the Theora format on YouTube. Because Theora is a free and open video compression format, it avoids the licensing issues usually involved with video codecs.
I expect more games to follow in the footsteps of
Spore's Creature Creator
,
PixelJunk Eden
, and
Mainichi Issho
, which already include YouTube support. The code that comes with my article on Gamasutra.com [
http://www.gamasutra.com/
view/feature/3855/share_your_
experience_youtube_.php
] should provide an excellent start if you want to access YouTube from a game or application written in C/C++.
Labels
.net
360
acceleration
access control
accessibility
actionscript
activities
activity
android
announcements
apis
app engine
appengine
apps script
as2
as3
atom
authentication
authorization
authsub
best practices
blackops
blur faces
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
machine learning
mashups
media:keywords keywords tags metadata
metadata
mobile
mozilla
NAB 2016
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
Super Chat API
survey
tdd
theme
tos
tutorials
updates
uploads
v2
v3
video
video files
video transcoding
virtual reality
voting
VR
watch history
watchlater
webvtt
youtube
youtube api
YouTube Data API
youtube developers live
youtube direct
YouTube IFrame Player API
YouTube live
YouTube Reporting API
ytd
Archive
2018
Aug
Apr
2017
Nov
Sep
Aug
Mar
Jan
2016
Nov
Oct
Aug
May
Apr
2015
Dec
Nov
Oct
May
Apr
Mar
Jan
2014
Oct
Sep
Aug
May
Mar
2013
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2012
Dec
Nov
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2011
Dec
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2010
Dec
Nov
Oct
Sep
Jul
Jun
May
Apr
Mar
Feb
Jan
2009
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan
2008
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
2007
Dec
Nov
Aug
Jun
May
Feed
YouTube
on
Follow @youtubedev