Comments Raphael Marsin started the conversationNovember 8, 2021 at 10:01amHello, please excuse me, I am unprofessional.I use Player pro on synthetic wave form & Elementor pro I need to create a link that1. Stop the current file (if it is running)2. Starts the XXX file at 287 seconds What is / thank you for your advice? 667Alexandre repliedNovember 8, 2021 at 4:30pmHi Raphael, Please try to add this code as the link url value:javascript:IRON.sonaar.player.setPlayer({ id:'1511'});setTimeout(function(){ document.getElementById('sonaar-audio').currentTime=287;document.getElementById('sonaar-audio').play(); }, 500)You have to replace the "1511" by the playlist ID you want to start.You cant start a file from here, you have to built previously a playlist.Thanks, Alexandre from the Sonaar.io Crew Sign in to reply ...
Hello, please excuse me, I am unprofessional.
I use Player pro on synthetic wave form & Elementor pro
I need to create a link that
1. Stop the current file (if it is running)
2. Starts the XXX file at 287 seconds
What is / thank you for your advice?
Hi Raphael,
Please try to add this code as the link url value:
javascript:IRON.sonaar.player.setPlayer({ id:'1511'});setTimeout(function(){ document.getElementById('sonaar-audio').currentTime=287;document.getElementById('sonaar-audio').play(); }, 500)
You have to replace the "1511" by the playlist ID you want to start.
You cant start a file from here, you have to built previously a playlist.
Thanks,
Alexandre from the Sonaar.io Crew