diff --git a/docs/README.md b/docs/README.md index 43124ac..5f6997a 100644 --- a/docs/README.md +++ b/docs/README.md @@ -240,7 +240,7 @@ ap.on('ended', function () { }); ``` -Video events +Audio events - abort - canplay @@ -578,4 +578,4 @@ ap.on('listswitch', (data) => { ### Why can't player autoplay in some mobile browsers? -Most mobile browsers forbid video autoplay, you wont be able to achieve it without hacks. \ No newline at end of file +Most mobile browsers forbid audio autoplay, you wont be able to achieve it without hacks. \ No newline at end of file diff --git a/docs/zh-Hans/README.md b/docs/zh-Hans/README.md index 36765fe..b219aee 100644 --- a/docs/zh-Hans/README.md +++ b/docs/zh-Hans/README.md @@ -221,7 +221,7 @@ const ap = new APlayer({ + `ap.list.clear()`: 清空播放列表 -+ `ap.audio`: 原生 video ++ `ap.audio`: 原生 audio + `ap.audio.currentTime`: 返回音频当前播放时间