mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-09 03:46:16 -08:00
build all packages
This commit is contained in:
1 parent
bc1217e9b8
commit
dd069324f9
10 files changed
+20
-20
No files matched your search
@@ -214,20 +214,20 @@ var art = new Artplayer({
|
||||
});
|
||||
```
|
||||
|
||||
## autoMin
|
||||
## autoMini
|
||||
|
||||
- Type: `Boolean`
|
||||
- Default: `false`
|
||||
|
||||
When the player scrolls out of the viewport, the mini player mode is automatically enabled
|
||||
|
||||
[Run Code](/Configuration.autoMin)
|
||||
[Run Code](/Configuration.autoMini)
|
||||
|
||||
```js
|
||||
var art = new Artplayer({
|
||||
container: '.artplayer-app',
|
||||
url: '/assets/sample/video.mp4',
|
||||
autoMin: true,
|
||||
autoMini: true,
|
||||
});
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user