我们可以使用YouTube的youtube api播放音频 [英] Can we play only audio using youtube api for iPhone

查看:891
本文介绍了我们可以使用YouTube的youtube api播放音频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,我必须使用youtube api并仅播放视频的音频。我们不能展示youtube播放器。是否可以在不使用youtube api显示视频的情况下播放音频?

In my project i have to use youtube api and play only audio of the video. We must not show the youtube player. Is it possible to play only audio without showing video using youtube api?

推荐答案

此处提取可能是不正确的隐含字。根据我的理解,user133611想要从YouTube获得仅音频流。不幸的是,YouTube直接禁止它。以下是来自YouTube API团队的Kuan Yong的引用:

Extraction may be the incorrect implied word here. From what I understand, is user133611 wants to have an audio only stream from YouTube. Unfortunately, YouTube directly forbids it. Here is a quote from Kuan Yong from the YouTube API team:


您的API客户端不会,您不会鼓励或创建$ b您的用户或其他第三方的$ b功能:

Your API Client will not, and You will not encourage or create functionality for Your users or other third parties to:


分离,隔离或修改任何YouTube视听的音频或视频组件通过YouTube API提供的内容

"separate, isolate, or modify the audio or video components of any YouTube audiovisual content made available through the YouTube API"

-Kuan Yong,YouTube API小组

-Kuan Yong, YouTube API Team

链接参考: https://groups.google.com/group/youtube-api-gdata/browse_thread/thread/7fac8e8ff913b6c4?pli=1

这篇关于我们可以使用YouTube的youtube api播放音频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆