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,
});
```