Adding YouTube Functionality to Android Apps
The following services and features help developers to add YouTube functionality
to their Android apps.
YouTube IFrame Player API
The YouTube IFrame Player API
lets you incorporate video playback functionality into your Android
applications. The API defines methods for loading and playing YouTube videos
(and playlists) and for customizing and controlling the video playback
experience.
Android Live Streaming
The YouTube Mobile Live deep link enables Android applications to initiate a YouTube live stream directly from a mobile device. An app only needs to provide an entry point, such as a button that the user can click, that starts the Mobile Live flow via the Android Intent mechanism.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-07 UTC.
[null,null,["Last updated 2024-11-07 UTC."],[[["The YouTube IFrame Player API allows developers to embed YouTube video playback, including videos and playlists, into Android apps."],["Developers can use the YouTube IFrame Player API to customize and control the video playback experience in their apps."],["The YouTube Mobile Live deep link feature lets Android apps start a YouTube live stream directly from the device."],["Android apps can integrate a simple entry point, like a button, to initiate the YouTube Mobile Live streaming flow through the Android Intent mechanism."]]],["Developers can integrate YouTube into Android apps using two main features. The YouTube IFrame Player API enables video and playlist playback within the app, offering customization and control options. Additionally, the YouTube Mobile Live deep link allows apps to trigger live streams directly from the mobile device. This is achieved by integrating an entry point in the app that uses the Android Intent to initiate the live stream.\n"]]