mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 13:56:15 -08:00
Merge branch 'master' of https://github.com/zhw2590582/ArtPlayer
This commit is contained in:
commit
ac9cea4113
11 files changed
+21
-21
No files matched your search
@@ -231,20 +231,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