use openAppleMusicURL instead on url
This commit is contained in:
parent
ea1e4cb2da
commit
e4f6942f10
2 changed files with 217 additions and 212 deletions
|
@ -686,12 +686,7 @@ const app = new Vue({
|
|||
app.mk.play()
|
||||
})
|
||||
} else {
|
||||
let data = MusicKit.formattedMediaURL(id);
|
||||
if (data != null && data.contentId != null && data.kind != null){
|
||||
self.mk.setQueue({[data.kind]: data.contentId}).then(() => {
|
||||
app.mk.play()
|
||||
})
|
||||
}
|
||||
app.openAppleMusicURL(id)
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue