commit
6c019aba08
|
|
@ -47,13 +47,13 @@ $ npm install aplayer --save
|
|||
## Quick Start
|
||||
|
||||
```html
|
||||
<div id="alayer1"></div>
|
||||
<div id="aplayer1"></div>
|
||||
<script src="dist/APlayer.min.js"></script>
|
||||
```
|
||||
|
||||
```js
|
||||
var ap = new APlayer({
|
||||
element: document.getElementById('player1'),
|
||||
element: document.getElementById('aplayer1'),
|
||||
music: {
|
||||
title: 'Preparation',
|
||||
author: 'Hans Zimmer/Richard Harvey',
|
||||
|
|
@ -124,4 +124,4 @@ var ap = new APlayer({
|
|||
**APlayer** © [DIYgod](https://github.com/DIYgod), Released under the [MIT](./LICENSE) License.<br>
|
||||
Authored and maintained by DIYgod with help from contributors ([list](https://github.com/DIYgod/APlayer/contributors)).
|
||||
|
||||
> Blog [@Anotherhome](https://www.anotherhome.net) · GitHub [@DIYgod](https://github.com/DIYgod) · Twitter [@DIYgod](https://twitter.com/DIYgod) · Weibo [@DIYgod酱](http://weibo.com/anotherhome) · Telegram Channel [@awesomeDIYgod](https://t.me/awesomeDIYgod)
|
||||
> Blog [@Anotherhome](https://www.anotherhome.net) · GitHub [@DIYgod](https://github.com/DIYgod) · Twitter [@DIYgod](https://twitter.com/DIYgod) · Weibo [@DIYgod酱](http://weibo.com/anotherhome) · Telegram Channel [@awesomeDIYgod](https://t.me/awesomeDIYgod)
|
||||
|
|
|
|||
Loading…
Reference in New Issue