Skip to content

Commit 49e8743

Browse files
committed
Fix typo
1 parent c5c6bfd commit 49e8743

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ ap.on('ended', function () {
240240
});
241241
```
242242

243-
Video events
243+
Audio events
244244

245245
- abort
246246
- canplay
@@ -578,4 +578,4 @@ ap.on('listswitch', (data) => {
578578

579579
### Why can't player autoplay in some mobile browsers?
580580

581-
Most mobile browsers forbid video autoplay, you wont be able to achieve it without hacks.
581+
Most mobile browsers forbid audio autoplay, you wont be able to achieve it without hacks.

docs/zh-Hans/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const ap = new APlayer({
221221

222222
+ `ap.list.clear()`: 清空播放列表
223223

224-
+ `ap.audio`: 原生 video
224+
+ `ap.audio`: 原生 audio
225225

226226
+ `ap.audio.currentTime`: 返回音频当前播放时间
227227

0 commit comments

Comments
 (0)