This commit is contained in:
torcado194 2022-03-20 21:03:57 -04:00
parent e9a0580ec4
commit a6d77baf70

View file

@ -21,7 +21,6 @@ Otherwise, manually setting up the player is just as easy.
2. Edit `config.json` to include the audio files. Add entries to the `media` array like so: 2. Edit `config.json` to include the audio files. Add entries to the `media` array like so:
```json ```json
...
"media": [ "media": [
{ {
"file": "track1.mp3", "file": "track1.mp3",
@ -34,29 +33,24 @@ Otherwise, manually setting up the player is just as easy.
"title": "Track 2", "title": "Track 2",
}, },
... ...
], ]
...
``` ```
3. Set the cover art file in `config.json`: 3. Set the cover art file in `config.json`:
```json ```json
...
"cover": "cover.png" "cover": "cover.png"
...
``` ```
4. (optional) Add a title to `config.json`, like so: 4. (optional) Add a title to `config.json`, like so:
```json ```json
"title": "My Album", "title": "My Album"
...
``` ```
5. (optional) Add a description to `config.json`, like so: 5. (optional) Add a description to `config.json`, like so:
```json ```json
...
"description": "(add text here)" "description": "(add text here)"
``` ```
@ -85,7 +79,7 @@ And that's it! you can upload the files to your website, or zip them up and uplo
`title` (optional) `title` (optional)
> Text at the top of the player > Text at the top of the player
> `"title": "My Album"` > `"title": "My Album"`
`media` `media`
> List of media files to include in the player > List of media files to include in the player
> ```json > ```json
@ -126,7 +120,7 @@ And that's it! you can upload the files to your website, or zip them up and uplo
**theme options** **theme options**
*all settigns are optional. Colors can be any valid CSS color* *all settings are optional. Colors can be any valid CSS color*
`titleStyle` `titleStyle`
> Styles the title text, if available. > Styles the title text, if available.