Post not yet marked as solved
Post marked as unsolved with 1 replies, 528 views
I am trying to create a webplayer for apple music and have run into some issues with actually playing the music.
authorized.then((res) => {
console.log(res);
musicInstance.setQueue({ song: '1025212395' }).then((queue) => {
console.log(queue)
musicInstance.play();
});
},(rej) => {
console.log("Failed to Recieve User Authorization")
})
where authorized is the promise that is returned when the user logs in. I keep getting the following console errors when attempting to play any sort of media and have no clue how to debug it. Sometimes, it says DOM error and mediasource readyState is not 'open' Any ideas?