DIYgod / DIYgod/APlayer

Can I turn off the lyrics by default?

Open
#344 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

## My config
I use the `Fixed mode` and some of my config as following:

```html

const ap = new APlayer({
container: document.getElementById('aplayer'),
fixed: true,
autoplay: false,
theme: '#b7daff',
loop: 'all',
order: 'list',
preload: 'auto',
volume: 0.5,
lrcType: 3,
mutex: true,
listFolded: false,
listMaxHeight: 90,

audio: [{
name: '亲爱的旅人啊(Cover:木村弓)',
artist: '周深',
lrc: '/music/lrc/亲爱的旅人啊(Cover:木村弓)-周深.lrc',
cover: 'http://p1.music.126.net/1YrCPOBV314i-mTtlDg8mQ==/109951164148664637.jpg?param=300x300',
url: 'http://m10.music.126.net/20191102134206/7c499bc0065a03c980aa04817b2b7b2b/ymusic/555f/525a/5258/b5f91cd86ce0046a6f70e249d0802a1e.mp3'
},
……
```
## My problem:

In this mode,Lyrics are displayed at the bottom of the page by default.But sometimes I don't want it to show the lyrics by default.

## Hope

So I hope it will only show when I click the display button. Is it possible to provide configuration for this property , just like `fixed: true`?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.