From 9ce9629b056af3b76e3db42720a33c167e044288 Mon Sep 17 00:00:00 2001 From: lgf196 <2219014328@qq.com> Date: Wed, 25 Aug 2021 11:10:23 +0800 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 75b3e53..aad1335 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 From c1157862f1e0ca6443cb5c1ad8a888d61b9467ef Mon Sep 17 00:00:00 2001 From: lgf196 <2219014328@qq.com> Date: Wed, 25 Aug 2021 11:11:09 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aad1335..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 From 1f73f3ae216e382c37c4eca91fc9a43b5a1383d7 Mon Sep 17 00:00:00 2001 From: lgf196 <2219014328@qq.com> Date: Wed, 25 Aug 2021 11:12:44 +0800 Subject: [PATCH 3/3] Update zh.md --- zh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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` | #### 方法