Okay
  Public Ticket #3421831
Javascript API
Closed

Comments

  • jaskaran started the conversation

    Hi!

     Please suggest what we can do in below case. 

    We have audio player working fine but we show transcripts on our current page. And in transcripts we have links such as [00:02] so on click of this url we would like the sticky player or currently playing track to jump to audio at clicked timestamp ie: in example at 2 minutes.

    Please suggest what kind of ajax request or javascript parameters are used for currently playing item. 

    Any help is appreciated,  we will implement it in our workflow accordingly. 

    In console I tried to look but when we click on progress bar, simple request url contains only audio url without any timestamp etc 

    Please suggest. 

    Thanks!

  • jaskaran replied

    I think audio tag 'currentTime' setting on click is supported ?

  •  669
    Alexandre replied

    We have a shortcode who do exactly what you want 
    Please try this 

    [sonaar_ts time="2:00"]Chapter 2[/sonaar_ts]

    Tou can learn more about this shortcode on this article
    https://sonaar.io/docs/add-audio-player-with-shortcode/

    Thanks,


    Alexandre from the Sonaar.io Crew

  •   jaskaran replied privately
  •   jaskaran replied privately
  •   jaskaran replied privately
  •  669
    Alexandre replied

    Here all parameters you can use.

    yGvcbc

    You can select a specific player or track.

    Thanks,


    Alexandre from the Sonaar.io Crew

  • jaskaran replied

    Thank you very much !

  •   jaskaran replied privately
  •  1,114
    Max replied

    Hi,

    its not possible at this time, sorry

    Thanks,


    Max from the Sonaar.io Crew

  •   jaskaran replied privately
  •   jaskaran replied privately