Skip to content

Commit

Permalink
Merge pull request #418 from apivideo/android-uploader-add-transcript…
Browse files Browse the repository at this point in the history
…-feature

[SDK README - api.video-android-uploader] Add transcript feature
  • Loading branch information
szekelyzol authored Oct 9, 2024
2 parents 49b9043 + d48847c commit 373b71c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sdks/vod/apivideo-android-uploader.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>video.api</groupId>
<artifactId>android-video-uploader</artifactId>
<version>1.3.6</version>
<version>1.3.7</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -41,7 +41,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
implementation "video.api:android-video-uploader:1.3.6"
implementation "video.api:android-video-uploader:1.3.7"
```

#### Others
Expand All @@ -54,7 +54,7 @@ mvn clean package

Then manually install the following JARs:

* `target/android-video-uploader-1.3.6.jar`
* `target/android-video-uploader-1.3.7.jar`
* `target/lib/*.jar`

### Code sample
Expand Down Expand Up @@ -86,7 +86,7 @@ To upload a video, you have 3 differents methods:

## Permissions

You have to add the following permissions in your `AndroidManifest.xml`:
If your video files are located in the media store, you have to add the following permissions in your `AndroidManifest.xml`:

```xml
<uses-permission android:name="android.permission.INTERNET" />
Expand All @@ -100,6 +100,8 @@ You have to add the following permissions in your `AndroidManifest.xml`:

Your application also has to dynamically request the `android.permission.READ_EXTERNAL_STORAGE` permission to upload videos.

If your video files are located in the app-specific storage, you don't need to request any permissions nor add any permissions to your `AndroidManifest.xml`.

### WorkManager

To upload with the `WorkManager`, you also have to add the following lines in your `AndroidManifest.xml`:
Expand Down

0 comments on commit 373b71c

Please sign in to comment.