Skip to content

Commit ab57f88

Browse files
committed
[DOC]: Improve readme file
1 parent c59f0a1 commit ab57f88

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Did you like the project? Please don't forget to give us a :star: star on :octoc
4545
- :white_check_mark: File validation: Validate files before uploading.
4646
- :art: File Image previews: See a thumbnail preview
4747
- :framed_picture: Full screen image previews: Add more interacion with a full screen preview of images
48-
- :movie_camera: Full screen video previews. Play the video before uploading. [![new-feature](https://img.shields.io/badge/new-feature-green.svg)](http://www.dropzone-ui.com)
48+
- :movie_camera: Full screen video previews. Play the video before uploading. [![new-feature](https://img.shields.io/badge/new-feature-green.svg)](https://github.com/dropzone-ui/react-dropzone/releases/tag/v6.4.0)
4949
- :eyes: status visualization: validation and upload status is shown on a [Tooltip](https://codesandbox.io/s/dropzone-ui-fileitem-resultontooltip-h6hu7) or on [Info Layer](https://codesandbox.io/s/dropzone-ui-fileitem-resultontooltip-h6hu7).
5050
- :airplane: File upload: Upload valid files to a server.
5151
- :performing_arts: Out of the box design and style.
@@ -287,13 +287,13 @@ Dropzone-ui is available in different languages. So far, we only support `Englis
287287

288288
### Props
289289

290-
| Name | Type | Default | Description |
291-
| ----------- | ---------- | ----------- | -------------------------------------------------------------------------------------------------------------- |
292-
| videoSource | `string` | `undefined` | The video source in string format or File object. `FileItem` component returns this value in `onWatch` handler |
293-
| onClose | `Function` | `undefined` | A function that describes the close behaviour |
294-
| openVideo | `boolean` | `undefined` | Flag that indicates whether to open the video preview or close it |
295-
| autoplay | `boolean` | `undefined` | Flag that indicates whether to play automatically the video or not. |
296-
| controls | `boolean` | `undefined` | Flag that indicates whether to display the controls in the video player or not. |
290+
| Name | Type | Default | Description |
291+
| ----------- | ---------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
292+
| videoSource | `string` | `undefined` | The video source in `string` format or `File` object. When a File object is given `VideoPreview` component will check if video type is included in the supported formats. (`video/mp4`, `video/ogg`, `video/webm`). Normally used with `FileItem` component when returns this value in `onWatch` handler. |
293+
| onClose | `Function` | `undefined` | A function that describes the close behaviour |
294+
| openVideo | `boolean` | `undefined` | Flag that indicates whether to open the video preview or close it |
295+
| autoplay | `boolean` | `undefined` | Flag that indicates whether to play automatically the video or not. |
296+
| controls | `boolean` | `undefined` | Flag that indicates whether to display the controls in the video player or not. |
297297

298298
## FileItemContainer API
299299

0 commit comments

Comments
 (0)