YouTube 开发者文档
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
YouTube 提供了一些 API 和工具,可让您将 YouTube 功能嵌入到自己的网站和应用中。
探索 YouTube API 的用途
YouTube Players
- IFrame Player API 参考文档
- 使用嵌入式播放器直接在应用中播放视频。
- iOS 辅助库
- 将 YouTube IFrame 播放器嵌入到 iOS 应用中。
- YouTube 播放器参数
- 使用各种播放器设置自定义播放体验。
YouTube 数据和资源
- YouTube Data API (v3)
- 向您的应用添加 YouTube 功能,包括上传视频、创建和管理播放列表等。
- YouTube Analytics API
- 检索 YouTube 视频和频道的观看统计信息、热门指标等。
- YouTube Live Streaming API
- 安排 YouTube 直播并管理直播视频流。
- YouTube 订阅按钮
- 让用户只需点击一下即可订阅您的 YouTube 频道。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eYouTube offers APIs and tools to integrate YouTube functionalities, like video playback and channel subscriptions, into your website or app.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize YouTube Player APIs for Android, iOS, and web embeds to customize video playback experiences.\u003c/p\u003e\n"],["\u003cp\u003eThe YouTube Data API enables access to features like video uploads, playlist management, and data retrieval for analytics and live streaming.\u003c/p\u003e\n"],["\u003cp\u003eResources like the YouTube Subscribe Button facilitate user engagement and channel growth directly within external platforms.\u003c/p\u003e\n"]]],["YouTube offers APIs and tools for integrating its features into external websites and applications. The IFrame Player API allows for direct video playback within apps, with the iOS Helper Library specifically aiding iOS integration. The Data API (v3) facilitates video uploads, playlist management, and more. The Analytics API provides viewing statistics, while the Live Streaming API handles broadcast scheduling and management. A Subscribe Button widget enables users to subscribe to YouTube channels directly.\n"],null,["# YouTube Developer Documentation\n\nYouTube has a number of APIs and tools that let you embed\n[YouTube](https://www.youtube.com) functionality\ninto your own website and applications.\n\nDiscover what you can do with YouTube APIs\n------------------------------------------\n\n### YouTube Players\n\n[IFrame Player API Reference](/youtube/iframe_api_reference)\n: Use an embedded player to play videos directly in your app.\n\n[iOS Helper Library](/youtube/v3/guides/ios_youtube_helper)\n: Embed a YouTube IFrame Player into an iOS application.\n\n[YouTube Player Parameters](/youtube/player_parameters)\n: Customize the playback experience with a variety of player settings.\n\n### YouTube Data and Resources\n\n[YouTube Data API (v3)](/youtube/v3)\n: Add YouTube features to your application, including the ability to upload videos, create and manage playlists, and more.\n\n[YouTube Analytics API](/youtube/analytics)\n: Retrieve viewing statistics, popularity metrics, and more for YouTube videos and channels.\n\n[YouTube Live Streaming API](/youtube/v3/live)\n: Schedule live YouTube broadcasts and manage your broadcast video streams.\n\n### YouTube Tools and Widgets\n\n[YouTube Subscribe Button](/youtube/subscribe)\n: Enable users to subscribe to your YouTube channel with one click."]]