Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.36 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.36 KB

MediaPlayer

How to To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

If your Gradle version below 7.0 Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' } //add this line
	}
}

If your Gradle version from 7.0 Add it in your root settings.gradle at the end of repositories:

dependencyResolutionManagement {  
  repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)  
    repositories {
        google()  
        mavenCentral()  
        jcenter()  
        maven { url 'https://jitpack.io' }  //add this line
 }}

Step 2. Add the dependency

dependencies {

implementation 'com.github.Pisey-Nguon:MediaPlayer:1.0.4'

}

Step 3. let see on the example project to understand about the implementation

Preview

photo_2022-01-11 16 41 31

photo_2022-01-11 16 41 33

photo_2022-01-11 16 44 50