The Wayback Machine - https://web.archive.org/web/20210109162440/https://github.com/agusibrahim/YuuPlayer
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
img
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Android Youtube Player library without any dependency, webview based.

Topics

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.