YuuPlayer
Youtube Player without any dependency and without SDK, webview based. Control video and get video information programatically.
How to use
Add it to your build.gradle with:
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}and:
dependencies {
compile 'com.github.agusibrahim:YuuPlayer:1.2'
}Basic Example
Add in your layout
<id.agusibrahim.yuuplayer.YuuPlayer
android:layout_width="match_parent"
android:layout_height="250dp"
app:video_id="YOUTUBE-VIDEO-ID"
app:autoplay="false"
app:video_quality="small"
android:id="@+id/mainYuuPlayer"/>or Play with full screen
Intent inten=new Intent(context, YuuPlayerFullscreen.class);
inten.putExtra(YuuPlayerFullscreen.PARAM_VIDEO_ID, "eRsGyueVLvQ");
inten.putExtra(YuuPlayerFullscreen.PARAM_VIDEO_QUALITY, "small");
startActivity(inten);For more details about API, check example https://github.com/agusibrahim/YuuPlayer/tree/master/app
Issues
Not work on some Android API version, especially who not supporting WebView HTML5 Video.
Contributing & license
Any contribution in order to make this library better will be welcome!
The library is licensed under the Apache License 2.0

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

