项目作者: Bipul1895

项目描述 :
Used youtube player API to play youtube videos
高级语言: Java
项目地址: git://github.com/Bipul1895/Play-Youtube.git
创建时间: 2020-06-27T13:19:15Z
项目社区:https://github.com/Bipul1895/Play-Youtube

开源协议:

下载


Play-Youtube

Used youtube player API to play youtube videos
Learnt about using a third party library in andorid application. We are required to download google’s youtube player api (.jar). Inorder to use this API,
go to console.developers.google.com and create a GOOGLE_API_KEY. We need to provide our package name and SHA-1 certificate to console.developers.google.com inorder
to link our app to the API. These details can be easily obtained by creating a maps activity in android studio.

Inorder to play videos, we can either implement YoutubePlayer.onInitilizedListener interface (after extending from YoutubeBaseActivity) or we can simply use
Youtube Standalone player which provides “createVideoIntent()” and “createPlaylistIntent()” methods to play single video and playList respectively.