Skip to main content

Play, Pause, or Skip

To play, pause, or skip audio on the player, simply use the following methods:

  • play() plays the audio at the current position.
  • pause() pauses the audio at the current position.
  • skipSentenceForward() skips to the next sentence.
  • skipSentenceBackward() skips to the previous sentence.
  • goTo(progressFraction: number) goes to the position on the article from progress fraction. Progress fraction should be a decimal between 0 and 1, where 1 is the content end and 0 is the content start.