扩展<mew-music>组件,可用于自定义侧边栏播放器

This commit is contained in:
j m 2024-12-19 20:56:08 +08:00
parent c8226c0d73
commit 9a42b9b771

View File

@ -75,6 +75,8 @@ document.addEventListener('DOMContentLoaded', () => {
listFolded: this.getAttribute('listFolded') || false, listFolded: this.getAttribute('listFolded') || false,
volume: this.getAttribute('volume') || 0.7, volume: this.getAttribute('volume') || 0.7,
listMaxHeight: this.getAttribute('listMaxHeight') || 450, listMaxHeight: this.getAttribute('listMaxHeight') || 450,
mimi: this.getAttribute('mimi') || false,
order: this.getAttribute('order') || 'list',
} }
if (!('APlayer' in window)) { if (!('APlayer' in window)) {
if (!MewMusic.prototype.load) { if (!MewMusic.prototype.load) {