change default pic
This commit is contained in:
+1
-1
@@ -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
@@ -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 {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 33 KiB |
Reference in New Issue
Block a user