Audio
基础用法
API
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| width | 宽 | number | — |
| height | 高 | number | — |
| loop | 是否循环播放 | boolean | false |
| autoplay | 是否自动播放 | boolean | false |
| src | 播放地址 | string | — |
Exposes
| Method | Description | Type |
|---|---|---|
| play | 播放 | Function |
| pause | 暂停 | Function |
| load | 加载 | Function |
| stop | 停止 | Function |