Skip to content

Commit 2eeae41

Browse files
committed
update(README): Add videoName param into documentation
1 parent c02c1e2 commit 2eeae41

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,14 @@ Using delegated upload tokens for authentication is best options when uploading
178178
#### Common options
179179

180180

181-
| Option name | Mandatory | Type | Description |
182-
| ------------: | --------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- |
183-
| file | **yes** | File | the file you want to upload |
184-
| chunkSize | no | number | number of bytes of each upload chunk (default: 50MB, min: 5MB, max: 128MB) |
185-
| apiHost | no | string | api.video host (default: ws.api.video) |
186-
| retries | no | number | number of retries when an API call fails (default: 5) |
187-
| retryStrategy | no | (retryCount: number, error: VideoUploadError) => number \| null | function that returns the number of ms to wait before retrying a failed upload. Returns null to stop retrying |
181+
| Option name | Mandatory | Type | Description |
182+
| ------------: | --------- | --------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
183+
| file | **yes** | File | the file you want to upload |
184+
| videoName | no | string | the name of your video (overrides the original file name for regular uploads, overrides the default "file" name for progressive uploads) |
185+
| chunkSize | no | number | number of bytes of each upload chunk (default: 50MB, min: 5MB, max: 128MB) |
186+
| apiHost | no | string | api.video host (default: ws.api.video) |
187+
| retries | no | number | number of retries when an API call fails (default: 5) |
188+
| retryStrategy | no | (retryCount: number, error: VideoUploadError) => number \| null | function that returns the number of ms to wait before retrying a failed upload. Returns null to stop retrying |
188189

189190

190191
### Example

0 commit comments

Comments
 (0)