change default pic

This commit is contained in:
DIYgod
2016-01-03 01:30:23 +08:00
parent a1b75f873e
commit c62083e7cc
10 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ ap.init();
title: 'Preparation', // Required, music title
author: 'Hans Zimmer/Richard Harvey', // Required, music author
url: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.mp3', // Required, music url
pic: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.jpg' // Required, music picture
pic: 'http://7xifn9.com1.z0.glb.clouddn.com/Preparation.jpg' // Optional, music picture
}
}
```
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "aplayer",
"version": "1.2.10",
"version": "1.2.11",
"description": "Wow, such a beautiful html5 music player",
"main": "APlayer.js",
"scripts": {
+1 -1
View File
@@ -7,7 +7,7 @@
function APlayer(option) {
// handle options error
if (!('music' in option && 'title' in option.music && 'author' in option.music && 'url' in option.music && 'pic' in option.music)) {
if (!('music' in option && 'title' in option.music && 'author' in option.music && 'url' in option.music)) {
throw 'APlayer Error: Music, music.title, music.author, music.url, music.pic are required in options';
}
if (option.element === null) {
+1 -1
View File
@@ -111,7 +111,7 @@ $aplayer-height-lrc: $aplayer-height + $lrc-height;
float: left;
height: $aplayer-height;
width: $aplayer-height;
background-image: url(./default.png);
background-image: url(./default.jpg);
background-size: 100%;
.aplayer-button {
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB