let { title, nickName, avatarUrl } = app.global.bgmInfo;
let tempFilePath = curAudio.tempFilePath;
console.log(title);
console.log(nickName);
console.log(avatarUrl);
console.log(tempFilePath);
bgm.title = title;
bgm.epname = title;
bgm.singer = nickName;
bgm.coverImgUrl = avatarUrl;
bgm.src = tempFilePath;
console.log(bgm);
|
|
参考了 你的建议 还是如问题描述的报错 根据文档的设置则可以正常播放,这又是什么情况啊 奔溃了…