Android Youtube Player library without any dependency, webview based.
Youtube Player without any dependency and without SDK, webview based. Control video and get video information programatically.
Add it to your build.gradle with:
gradle allprojects { repositories { maven { url "https://jitpack.io" } } }and:
dependencies { compile 'com.github.agusibrahim:YuuPlayer:1.2' }
Add in your layout
xmlor Play with full screen
java 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
Not work on some Android API version, especially who not supporting WebView HTML5 Video.
Any contribution in order to make this library better will be welcome!
The library is licensed under the Apache License 2.0