Open audio player
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Open audio player

  • Dark
    Light
  • PDF

Opens a native audio player to play an audio file from an external URL or the local filesystem.

Once the user closes the audio player, the first output is triggered.

If there is an error, the second output is triggered.

Input arguments

Label Key Type Required? Default Description
Audio source source String(local-filesystem-reference)|String(web-url) Yes External URL or local filesystem path to the audio file to play.

Output arguments

Number of outputs: 2

No output arguments.

Events

No events.

Errors

Label Code Description
Unknown error unknown Thrown if an unknown error occurred while playing the audio file.

Was this article helpful?