May 9, 2023
As noted in the revision history from March 1, 2023, the YouTube Android Player
SDK (version 1.2.2
) is no longer supported or maintained by YouTube. It is now
fully deprecated. Please use the
YouTube IFrame Player API instead.
March 1, 2023
The YouTube Android Player SDK (version 1.2.2
) is no longer supported or maintained by YouTube. This SDK should not be used, due to
security vulnerabilities.
Please use the YouTube IFrame Player API instead.
The SDK is no longer available for download. It will be fully deprecated on or after May 1, 2023.
This page lists YouTube Android Player API changes and documentation updates.
August 11, 2016
This update contains the following changes:
The newly published YouTube API Services Terms of Service ("the Updated Terms"), discussed in detail on the YouTube Engineering and Developers Blog, provides a rich set of updates to the current Terms of Service. In addition to the Updated Terms, which will go into effect as of February 10, 2017, this update includes several supporting documents to help explain the policies that developers must follow.
The full set of new documents is described in the revision history for the Updated Terms. In addition, future changes to the Updated Terms or to those supporting documents will also be explained in that revision history. You can subscribe to an RSS feed listing changes in that revision history from a link in that document.
December 18, 2015
European Union (EU) laws require that certain disclosures must be given to and consents obtained from end users in the EU. Therefore, for end users in the European Union, you must comply with the EU User Consent Policy. We have added a notice of this requirement in our YouTube API Terms of Service.
October 14, 2015
This update contains the following changes:
- The YouTube Android Player API JAR file available for download has been updated to version
1.2.2
. The API reference documentation has also been updated to reflect the new version, which includes the following changes:- The
YouTubeIntents
class supports two new public methods:canResolveChannelIntent
: This method determines whether the YouTube application installed on the user's device supports the create channel intent.createChannelIntent
: This method creates an intent that, when resolved, opens the channel page for the specified channel ID in the YouTube application.
- The
January 22, 2015
This update contains the following changes:
- The YouTube Android Player API JAR file available for download has been updated to version
1.2.1
. The API reference documentation has also been updated to reflect the new version, which includes the following changes:- The
YouTubeIntents
class supports a new public method,canResolvePlayVideoIntentWithOptions
. This method determines whether the YouTube application installed on the user's device supports thefullscreen
andfinishOnEnd
optional parameters, which can be set when creating a play video Intent. - In the
YouTubePlayer.ErrorReason
enum, the newPLAYER_VIEW_NOT_VISIBLE
value indicates that video playback has been stopped because the player'sView
is not visible. - In the
YouTubePlayer.ErrorReason
enum, theBLOCKED_FOR_APP
andEMBEDDING_DISABLED
values have both been deprecated. Use theNOT_PLAYABLE
value instead. - The
YouTubeStandalonePlayer
class supports two newcreateVideosIntent
public methods, which accept different arguments. Each method creates an intent that starts a new standalone player activity that plays a list of videos. - The
YouTubeThumbnailLoader
interface's documentation has been updated to note that you must call the interface'srelease()
method when you are finished with theYouTubeThumbnailLoader
. The documentation for theYouTubeThumbnailView
class also mentions this requirement.
- The
May 9, 2013
This update contains the following changes:
- YouTube no longer identifies experimental API features and services. Instead, we now provide a list of YouTube APIs that are subject to the deprecation policy.
December 21, 2012
This update contains the following changes:
- The YouTube Android Player API launches as an experimental feature.