突然之间(2016 年 5 月 10 日)Android YouTubePlayer 拒绝播放某些音乐视频(例如 VEVO)。我知道这以前出现过,然后又消失了,但我想知道今天是否还有其他人看到过这种变化,是否有任何解决方法?我已经看到其他人使用基于 Webview 的 YouTube 播放器解决了这个问题,但没有使用 Android YouTubePlayer。有什么想法吗?
How can I work around YouTube API embed restrictions like other websites?
最佳答案
如果你检查这个项目 https://github.com/theScrabi/NewPipe 他们设法播放 Vevo 视频,我相信他们使用 youtube-dl .
此限制似乎发生在大多数使用 youtube API 的 android 应用程序上,例如 Shazam。
关于Android YouTubePlayer 限制视频,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37146437/