diff --git a/APlayer.js b/APlayer.js index afe8702..dc10ba9 100644 --- a/APlayer.js +++ b/APlayer.js @@ -18,7 +18,7 @@ APlayer.prototype.init = function () { + '
' + '' + this.option.music.title + '' + ' - ' + this.option.music.author + '' - + '' + + '' + '
' + '
' + '
' diff --git a/README.md b/README.md index f09c9f5..c364d47 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ The following HTML structure is used for APlayer: ``` -And this is how the jRating is initialized: +And this is how the APlayer is initialized: ``` var ap = new APlayer({ @@ -75,7 +75,8 @@ API - [x] 播放进度拖拽控制 - [x] 音量控制 -- [ ] 分享到微博 +- [x] 分享到微博 +- [ ] 错误处理 - [ ] 播放列表 - [ ] 歌词展示 diff --git a/demo/index.html b/demo/index.html index eed2a48..a0df719 100644 --- a/demo/index.html +++ b/demo/index.html @@ -18,7 +18,7 @@ title: 'Preparation', author: 'Hans Zimmer/Richard Harvey', url: 'Preparation.mp3', - pic: 'Preparation.jpg' + pic: 'https://dn-diygod.qbox.me/Preparation.jpg' } }); ap.init();