Comments Vasiliy started the conversationJanuary 24, 2021 at 11:29amWe've been using Sonaar MP3 player for quite a while on the site, and it was working. We have some JS code that uses the following to load and play different playlists:IRON.sonaar.player.setPlayerAndPlay({ id: "123456", trackid: "0"});It used to work, but now it doesn't and throws an error. Seems like architecture of iron-audioplayer.js changed with some of the updates?Could you tell how it's possible now to load a playlist and play a track via JS by providing playlist ID? Stop/pause a track playing?Thanks! 1,114Max repliedJanuary 24, 2021 at 5:21pmHi,it should work.Could you please provide me access to your wp-admin and I will gladly check the issue you have.Thanks, Max from the Sonaar.io Crew Sign in to reply ...
We've been using Sonaar MP3 player for quite a while on the site, and it was working. We have some JS code that uses the following to load and play different playlists:
IRON.sonaar.player.setPlayerAndPlay({ id: "123456", trackid: "0"});
It used to work, but now it doesn't and throws an error. Seems like architecture of iron-audioplayer.js changed with some of the updates?
Could you tell how it's possible now to load a playlist and play a track via JS by providing playlist ID? Stop/pause a track playing?
Thanks!
Hi,
it should work.
Could you please provide me access to your wp-admin and I will gladly check the issue you have.
Thanks,
Max from the Sonaar.io Crew