How to integrate YouTube API into my iPhone app?

2019-07-04 22:11发布

I want to integrate the YouTube API into my app, how can I do this?

P.S., I'm making an app for a YouTube channel. I tried opening YouTube in a webview, but this made everything even worse because the user could see the YouTube controls (search etc.) and that strange message about the "YouTube iPhone app".

2条回答
再贱就再见
2楼-- · 2019-07-04 22:24

You might do well to read the YouTube API documentation. If it's like the rest of Google's APIs its probably pretty straightforward. And for further reading: YouTube and iPhone

查看更多
萌系小妹纸
3楼-- · 2019-07-04 22:29

This is a wild guess b/c I havent done anything like this before but have you tried just passing the YouTube URL for a video to the MPMoviePlayer?

查看更多
登录 后发表回答