Android Studio: HMS Video Play Kit

From OnnoWiki
Revision as of 09:46, 17 March 2022 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search


Configure Maven dependencies in the build.gradle file under the app directory of your Android Studio project.

dependencies {
......
    implementation "com.huawei.hms:videokit-player:1.0.10.300"
}

If you want your app to use Video Kit without relying on HMS Core (APK), add the following fallback dependencies in the dependencies block.

dependencies {
    implementation 'com.huawei.hms:videokit-player-fallback:1.0.10.300'
}


Referensi