Okay
  Public Ticket #2546333
Trigger Specific Track/Playlist in Sticky Audio Player
Closed

Comments

  • Dan Ahrendt started the conversation

    I'm trying to figure out how to trigger a specific track from a specific playlist in a post. I do not believe there is a Gutenberg or Elementor block for this (just triggering one specific track to play), so I've gone ahead and built some functionality that should trigger the IRON.sonaar.player JS for a specific track when an element is clicked. To do this, I followed this article.

    However, when calling "IRON.sonaar.player.setPlayerAndPlay", I get an error saying that the function does not exist. Looking through the current JS for this functionality, it appears that this function doesn't exist.

    How would I accomplish what I'm trying to do since the article posted about this doesn't appear to be up to date?

  •  1,114
    Max replied

    Hi Dan,

    Thanks for reaching out.

    What is your email associated with your Sonaar.io account?


    Thanks,


    Max from the Sonaar.io Crew

  • Dan Ahrendt replied

    Never mind, I figured it out myself.