Okay
  Public Ticket #2620080
Dynamic content Slider Revolution play button
Closed

Comments

  • Artoym started the conversation

    Is it possible to assign dynamicl mp3 track from product  meta data to be launched from slider revolution widget? 

    Like is there code like this but getting dynamic data instead of particular id?

    >> IRON.sonaar.player.setPlayer({ id:"1218", title:"Playlist Title" });

  •  1,103
    Max replied

    Hi Artoym,

    You can upload MP3 to your woocommerce product and then call the track using JS call: 

    javascript:IRON.sonaar.player.setPlayerAndPlay({ id:"1218", trackid:"0"})

    where ID is the post ID and trackis the track order in the list (0 is track number 1, 1 is track number 2, etc..)

    Thanks,


    Max from the Sonaar.io Crew

  • Artoym replied

    But can I dynamicly retrieve track out of product data? Like elementor button + mp3 player would do?

    I try to create dynamic product loop with toggling play/pause + dyn track + dyn product image.


  •  1,103
    Max replied

    I dont think Elementor Pro support dynamic repeater field which is what the Playlist custom post type use...so I doubt it will be possible, unless Elementor Pro supports it.

    Thanks,


    Max from the Sonaar.io Crew