Youtube-API

suggest change

Remarks

  1. First of all, you need to download the latest jar from below link https://developers.google.com/youtube/android/player/downloads/
  2. You need to include this jar in your project. Copy and paste this jar into the libs folder, and add it in the Gradle file:
dependencies {
    compile files('libs/YouTubeAndroidPlayerApi.jar')
}
  1. You need an API key to access the YouTube API. Follow this link: https://developers.google.com/youtube/android/player/register to generate your API key.
  2. Clean and build your project. Now you’re ready to use the YouTube Android Player API. To play a YouTube video, you need its video id. For example, in https://www.youtube.com/watch?v=B08iLAtS3AQ, B08iLAtS3AQ is the video id.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents