Android Youtube Player library without any dependency, webview based.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app add sample Jul 15, 2017
gradle/wrapper init commit Jul 15, 2017
img add ss Jul 15, 2017
library add sample Jul 15, 2017
.gitignore add sample Jul 15, 2017
README.md add Android Arsenal badge Jul 16, 2017
build.gradle init commit Jul 15, 2017
gradle.properties init commit Jul 15, 2017
gradlew init commit Jul 15, 2017
gradlew.bat init commit Jul 15, 2017
settings.gradle init commit Jul 15, 2017

README.md

YuuPlayer

Release Android Arsenal

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

Download APK

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