Get or restyle the audio player snippet
get_audio_embedReturns the embeddable player snippet for an audio episode made with create_audio, with a new look when theme, layout, colour, title, transcript or attribution fields are passed; the audio itself is not re-rendered. Also the way to pick up an episode that was still rendering. Takes a few seconds. Give the snippet to the user in full, in a code block.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | No | Player accent colour as hex, for example #5688b0. | |
| theme | No | Player theme. Default dark. | |
| layout | No | Player layout. Default full. | |
| audioId | Yes | The audioId returned by create_audio. | |
| project | Yes | The Hi, Moose project, by its name as shown by list_projects. The projectId is also accepted. | |
| showTitle | No | Show the title line in the player. Default false. | |
| customTitle | No | A custom title line for the player, for example "Listen to this article". Turns the title on. | |
| showTranscript | No | Show the transcript button. Default true. | |
| hideAttribution | No | Hide the "Audio by Hi, Moose" line. Paid plans only; ignored on free plans. |