diff --git a/README.md b/README.md index 75b3e53..ab3244b 100644 --- a/README.md +++ b/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 \ No newline at end of file +Copyright (c) 2021-present LiGuoFeng diff --git a/zh.md b/zh.md index 5b9045f..b9b0bf7 100644 --- a/zh.md +++ b/zh.md @@ -68,14 +68,14 @@ const App = () => ( | poster | 视频封面图 | `string` | - | | setEndPlayContent | 自定义视频结束时显示的内容 | `React.ReactNode` | - | | setBufferContent | 自定义视频缓冲加载组件 | `React.ReactNode` | - | -| pausePlacement | 暂停键的位置 | `bottomRight` | `center` | `bottomRight` | +| pausePlacement | 暂停键的位置 | `bottomRight`,`center` | `bottomRight` | | hideMouseTime | 多少毫秒,无任何操作,隐藏鼠标和控制器/ms | `number` | 2000 | | isShowMultiple | 是否显示播放倍数功能 | `boolean` | true | | isShowSet | 是否显示设置功能 | `boolean` | true | | isShowScreenshot | 是否显示截图功能 | `boolean` | true | | isShowPicture | 是否显示画中画 | `boolean` | true | | isShowWebFullScreen | 是否显示网页全屏 | `boolean` | true | -| language | 语言 | `zh` | `en` | `zh` | +| language | 语言 | `zh`,`en` | `zh` | #### 方法