r/neocities • yuri-uran.nekoweb.org • 1h ago

Help webamp code?

is there any way to load webamp pre-collapsed [i.e. only the 'now playing' menu, not the EQ and the playlist]?

thank you in advance :D

1 Upvotes

1 comment sorted by

1

u/WorldWideShen https://shens.world/ 1h ago

looking at this page: https://github.com/captbaritone/webamp/tree/master/examples%2FminimalWindowLayout

it seems like something like this might do it (i haven't tried it though):

const webamp = new Webamp({ windowLayout: { main: { closed: false }, equalizer: { closed: true }, playlist: { closed: true } } });