remove autoHeight option

This commit is contained in:
Harvey committed 2021-12-31 17:56:43 +08:00
1 parent a74c6194be
commit 8404a8c5cd
19 files changed
+61 -78

No files matched your search

@@ -199,23 +199,6 @@ var art = new Artplayer({
});
```
## autoHeight
- Type: `Boolean`
- Default: `false`
When the container has only width, you want the container height adapt to the player aspect ratio.
<div className="run-code">▶ Run Code</div>
```js
var art = new Artplayer({
container: '.artplayer-app',
url: '/assets/sample/video.mp4',
autoHeight: true,
});
```
## autoMini
- Type: `Boolean`