Okay
  Public Ticket #2669297
JS code doesn't work
Closed

Comments

  • Vasiliy started the conversation

    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!

  •  1,114
    Max replied

    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