Difference between revisions of "Android Studio: HMS Video Play Kit"

From OnnoWiki
Jump to navigation Jump to search
(Created page with " ==Referensi== * https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides-V5/introduction-0000001050439577-V5")
 
Line 1: Line 1:
  
 +
 +
 +
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'
 +
}
  
  

Revision as of 09:46, 17 March 2022


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