commit
b98b466da7
|
|
@ -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.
|
||||
Most mobile browsers forbid audio autoplay, you wont be able to achieve it without hacks.
|
||||
|
|
@ -221,7 +221,7 @@ const ap = new APlayer({
|
|||
|
||||
+ `ap.list.clear()`: 清空播放列表
|
||||
|
||||
+ `ap.audio`: 原生 video
|
||||
+ `ap.audio`: 原生 audio
|
||||
|
||||
+ `ap.audio.currentTime`: 返回音频当前播放时间
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue