Results 3 comments of bgm004

播放器的on事件自己处理一下吧,项目好像不更新了。 ```js ap.on('play', () => { const currentPlayMeta = ap.list.audios[ap.list.index] navigator.mediaSession.metadata = new MediaMetadata({ title: currentPlayMeta.name, artist: currentPlayMeta.artist, album: currentPlayMeta.artist, artwork: [{ src: currentPlayMeta.cover || '' }] }) }) ```

```css .aplayer.aplayer-fixed .aplayer-body { position: fixed; bottom: 0; left: 0; right: 0; margin: 0; z-index: 99; background: #fff; padding-right: 18px; transition: all .3s ease; max-width: 400px; } ``` 把 position:...

有没有可能这是你自己的bug。你不是已经知道原因了吗。resp不是数组 --- Is it possible that this is your own bug. Don't you already know the reason? resp is not an array