mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-22 21:31:20 -08:00
update docs
This commit is contained in:
1 parent
9b48e5959a
commit
adfe8725d5
43 files changed
+131
-131
No files matched your search
@@ -201,10 +201,10 @@ var art = new Artplayer({
|
||||
|
||||
## autoHeight
|
||||
|
||||
- 类型: `Boolean`
|
||||
- 默认: `false`
|
||||
- Type: `Boolean`
|
||||
- Default: `false`
|
||||
|
||||
When the container has only width, you want the container adapt to the player height.
|
||||
When the container has only width, you want the container height adapt to the player aspect ratio.
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
@@ -204,7 +204,7 @@ var art = new Artplayer({
|
||||
- 类型: `Boolean`
|
||||
- 默认: `false`
|
||||
|
||||
当容器只有宽度,但你希望容器能自适应播放器时有用
|
||||
当容器只有宽度,但你希望容器高度能自适应播放器的长宽比
|
||||
|
||||
<div className="run-code">▶ Run Code</div>
|
||||
|
||||
|
||||
Reference in new issue
Block a user