add fastForward

This commit is contained in:
Harvey committed 2022-04-27 13:55:47 +08:00
1 parent 17262ff63d
commit 3b63e1a59b
58 files changed
+309 -150

No files matched your search

+18 -1
View File
@@ -1043,7 +1043,7 @@ var art = new Artplayer({
## lock
- Type: `Boolean`
- Default: `true`
- Default: `false`
Whether to display a lock button on the mobile side to hide the bottom control bar
@@ -1057,6 +1057,23 @@ var art = new Artplayer({
});
```
## fastForward
- Type: `Boolean`
- Default: `false`
Whether to display a fast forward button on the mobile
<div className="run-code">▶ Run Code</div>
```js
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
fastForward: true,
});
```
## autoPlayback
- Type: `Boolean`