|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|