Android Youtube Player Activity. Simply pass a url to play youtube video in new activity. It supports screen orientation, media volume control and etc.
Android Youtube Player Activity. Simply pass a url to play youtube video in new activity. It supports screen orientation, media volume control and etc.
Simply pass an url to play youtube video in new activity. It supports screen orientation, media volume control and etc.
You can download demo movie file here : demo.mov
It's also on Youtube:
You can download the latest sample APK from this repo here: sample-release.apk
It's also on Google Play:
Having the sample project installed is a good way to be notified of new releases.
Easily reference the library in your Android projects using this dependency in your module's build.gradle file:
dependencies {
compile 'com.thefinestartist:ytpa:1.2.1'
}It supports Android API 7+.
Orientation Support
Media Volume Support
Video Play Error Support
Animation Support
Status Bar Support
…This util helps to retrieve youtube video id from youtube url or vice versa. Reference
String vidoeId = YouTubeUrlParser.getVideoId(videoUrl);
String vidoeUrl = YouTubeUrlParser.getVideoUrl(videoId);This util helps to open Youtube App and play specific video.
YouTubeApp.startVideo(context, videoId);This util returns Youtube thumbnail image url.
YouTubeThumbnail.getUrlFromVideoId(videoId, Quality.HIGH);…No open issues yet, or sync has not completed.