mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 22:01:20 -08:00
add fastForward
This commit is contained in:
1 parent
17262ff63d
commit
3b63e1a59b
58 files changed
+309
-150
No files matched your search
@@ -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`
|
||||
|
||||
Reference in new issue
Block a user