Engineering and Developers Blog
What's happening with engineering and developers at YouTube
Here’s my playlist, so submit a video, maybe?
Wednesday, August 28, 2013
Update:
YouTube Direct Lite for iOS
is now available as well. This version demonstrates best practices for using the YouTube APIs on iOS.
YouTube Direct Lite
allows you to solicit videos from your users and then moderate those submissions into standard YouTube playlists for display. And now there is an app for that.
With the YouTube Direct Lite apps (
Android
,
iOS
)
, your fans can
record a new video,
upload an existing video from their device,
pick one of their own YouTube uploads
and submit to your playlist, all from their Android device. You can then moderate their submissions, which won't show up in your playlist till you explicitly approve them.
YouTube Direct Lite platform
doesn’t require any server-side code that needs to be configured or deployed. As the
moderator
, you will see a playlist of videos waiting for your approval. The videos you approve, will be added into your channel.
How to start using the Android application
1)
Register your Android app
2) Enable the Youtube Data API v3 and Google+ API in your
API Console
.
3) Include the
Google Play Services library
in your project to build this application.
4) Plug your Playlist Id into
Constants.java
and Android API Key into
Auth.java
Main Activity
YouTube player
Upload Service
How to start using the iOS application
1)
Enable the YouTube Data API
2) Plug your Playlist Id, Client ID and Client Secret into
Utils.h
2) Install the
Google Client Library
.
3) Run the sample
Uploads Playlist
iFrame Player
YouTube Upload
Open-sourced to reference best practices of YouTube APIs on Android and iOS
YouTube Direct Lite apps (
Android
,
iOS
) are open-sourced projects and you are more than welcome to customize them for your needs. You can also contribute back to the projects with bug reports, feature or merge requests.
Android
application uses the
YouTube Data API v3
,
YouTube Android Player API
,
YouTube Resumable Uploads
,
Google Play Services
and
Plus API
.
In addition to Android best practices for the YouTube APIs, this project follows the
design and development guidelines for Android
. This project adheres to
Holo style
,
typography
,
48dp rhythm
,
iconography
and uses
IntentService
,
BigPictureStyle notification
, and
GoogleAccountCredential
.
iOS
application uses the
YouTube Data API v3
, the
YouTube iFrame Player API
, and
YouTube Resumable Uploads
.
In addition, in these videos, we talk about the philosophy we followed in building these apps and a few best practices for the Youtube APIs, Android, and iOS development.
This App is still experimental, so stay tuned here and subscribe to the
YouTube for Developers
channel to keep up on the latest.
Cheers,
—
Ibrahim Ulukaya
, YouTube API Team
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 live
YouTube Reporting API
ytd
Archive
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