We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a194874 commit 61f0d66Copy full SHA for 61f0d66
1 file changed
README.md
@@ -61,15 +61,15 @@ var option = {
61
title: 'Preparation', // Required, music title
62
author: 'Hans Zimmer/Richard Harvey', // Required, music author
63
url: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.mp3', // Required, music url
64
- pic: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.jpg' // Optional, music picture
+ pic: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.jpg', // Optional, music picture
65
lrc: '[00:00.00]lrc here\n[00:01.00]aplayer' // Optional, lrc, see: ###With lrc
66
}
67
68
```
69
70
#### API
71
72
-+ `ap.init()`
++ `ap.init()` // Load player
73
+ `ap.play()` // Resume play
74
+ `ap.play(time)` // Set currentTime
75
+ `ap.pause()` // Pause
0 commit comments