Android Youtube-API

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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 in libs folder and don't forget to add it in gradle file dependencies { compile files('libs/YouTubeAndroidPlayerApi.jar') }
  3. You need an api key to access youtube api's. Follow this link : https://developers.google.com/youtube/android/player/register to generate your api key.
  4. Clean and Build your project. Now you're ready to use the YoutubeAndroidPlayerApi For playing an youtube video, you need to have video id corresponding to it so that you can play it on youtube. For e.g : https://www.youtube.com/watch?v=B08iLAtS3AQ, B08iLAtS3AQ is video id which you need to play it on youtube.


Got any Android Question?