Update README.md

master
lgf196 3 years ago committed by GitHub
parent b2ab149cd2
commit 9ce9629b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      README.md

@ -70,14 +70,14 @@ The following attributes come from the `option` property configuration item
| poster | Video cover image | `string` | - |
| setEndPlayContent | Customize what is displayed at the end of the video | `React.ReactNode` | - |
| setBufferContent | Custom video buffer loading component | `React.ReactNode` | - |
| pausePlacement | The position of the pause button | `bottomRight` | `center` | `bottomRight` |
| pausePlacement | The position of the pause button | `bottomRight` || `center` | `bottomRight` |
| hideMouseTime | How many milliseconds, without any operation, hide the mouse and controller/ms | `number` | 2000 |
| isShowMultiple | Whether to display the multiplier function | `boolean` | true |
| isShowSet | Whether to display the setting function | `boolean` | true |
| isShowScreenshot | Whether to display the screenshot function | `boolean` | true |
| isShowPicture | Whether to show picture-in-picture | `boolean` | true |
| isShowWebFullScreen | Whether to display the full screen of the webpage | `boolean` | true |
| language | Language | `zh` | `en` | `zh` |
| language | Language | `zh` || `en` | `zh` |
#### Method
@ -181,4 +181,4 @@ If you think this project is helpful to you, you can give the author a like, the
[MIT](https://github.com/lgf196/ant-simple-pro/blob/master/LICENSE)
Copyright (c) 2021-present LiGuoFeng
Copyright (c) 2021-present LiGuoFeng

Loading…
Cancel
Save