update docs

This commit is contained in:
Harvey committed 2022-04-22 16:38:21 +08:00
1 parent a58e0139b5
commit 13bccc4cbf
46 files changed
+169 -135

No files matched your search

@@ -1039,3 +1039,20 @@ var art = new Artplayer({
lang: 'en',
});
```
## lock
- Type: `Boolean`
- Default: `true`
Whether to display a lock button on the mobile side to hide the bottom control bar
<div className="run-code">▶ Run Code</div>
```js
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
lock: true,
});
```
@@ -1040,3 +1040,20 @@ var art = new Artplayer({
lang: 'en',
});
```
## lock
- 类型: `Boolean`
- 默认: `true`
是否在移动端显示一个锁定按钮,用于隐藏底部控制栏
<div className="run-code">▶ Run Code</div>
```js
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
lock: true,
});
```