> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/elements-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/elements-docs/using-elements/components/content-and-media/audio-playlist.md).

# Audio

The Audio component creates a self-hosted audio playlist with artwork, track information, progress controls, navigation, and optional visitor volume controls. Add tracks through a collection and style the player to match your site.

### Supported Content and File Types

Each track accepts an audio resource, optional artwork, a title, and an artist. Use browser-compatible audio files and optimised artwork.

### How to Use Audio

You’ll find Audio under **Media** in the Components list.

1. Drag **Audio** onto the page.
2. Add items to the **Tracks** collection.
3. For each track, choose its Audio Source and optionally add Title, Artist, and Artwork.
4. Configure the Now Playing area and track list.
5. Choose which playback and volume controls visitors can use.
6. Preview the complete playlist in a browser.

### Component Settings

#### Tracks

The **Tracks** collection adds, removes, and reorders playlist entries. Each item contains:

* **Title** and **Artist** — Optional text shown in the player.
* **Artwork** — Optional image resource.
* **Audio Source** — The audio resource played for that item.

#### Now Playing

**Layout** is Vertical by default and can be changed to Horizontal. **Gap** defaults to theme spacing 5 and **Padding** to 5 on every side.

**Artwork** controls Size, Shadow, and Radius. Size defaults to theme spacing 48, Shadow to None, and Radius to the theme default.

**Title** and **Artist** each have Color and Size controls. Both colours default to Text 600; Title uses Large and Artist uses Small.

#### Progress Bar

**Background** defaults to Surface 100, **Foreground** to Surface 300, and **Size** to theme spacing 1.5.

#### Track List

**Max Height** defaults to theme spacing 72. Padding defaults to 0 and Gap to 2.

Set the track item Radius, artwork Size, Shadow and Radius, divider Color and Thickness, and Title and Artist text sizes.

Use **State** to style Normal and Hover track colours independently. Each state provides Background, background Opacity, Title colour, and Artist colour. Background opacity defaults to 100%.

#### Icons

**Spacing** between the main controls defaults to theme spacing 6.

**Play and Pause** provides normal Color, Hover colour, Size, and custom Play and Pause SVG resources.

**Next and Previous** is enabled by default. When enabled, set normal and hover colours, size, and custom Next and Previous SVGs.

**Skip Back and Forward** is off by default. Enabling it reveals the same colour, size, and SVG controls.

#### Volume

**Initial Volume** defaults to 100%.

**Visitor Controls** are off by default. When enabled, configure the volume bar Background, Foreground, Size, and Width, plus the mute button’s normal and hover colours, size, and Volume and Muted SVGs.

### Accessibility

Provide meaningful track titles and artist names. Keep playback controls visible and high contrast, and do not start audio automatically.

### Tips and Best Practices

* **Optimise audio files:** Large files increase page load and bandwidth use.
* **Use consistent artwork:** Matching dimensions keep the player stable between tracks.
* **Offer volume control:** Enable visitor controls when audio level may vary between files.

### Related Components

* [Video](/elements-docs/using-elements/components/content-and-media/video.md) — Plays YouTube, Vimeo, and MP4 video.
* [Image](/elements-docs/using-elements/components/content-and-media/image.md) — Provides guidance on optimising artwork and alternative text.

| Common Control                                                                                                     | Description                                                             |
| ------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------- |
| [Link](/elements-docs/using-elements/components/common-controls/link.md)                                           | Link to a page, resource, anchor, email address, or website.            |
| [Layout](/elements-docs/using-elements/components/common-controls/layout.md)                                       | Control positioning, stacking, visibility, overflow, and isolation.     |
| [Sizing](/elements-docs/using-elements/components/common-controls/sizing.md)                                       | Set width, height, and responsive size constraints.                     |
| [Spacing](/elements-docs/using-elements/components/common-controls/spacing.md)                                     | Add responsive margin and padding.                                      |
| [Typography & Text Styles](/elements-docs/using-elements/components/common-controls/typography-and-text-styles.md) | Control fonts, text spacing, decoration, colour, and semantic wrappers. |
| [Backgrounds](/elements-docs/using-elements/components/common-controls/backgrounds.md)                             | Apply colour, image, gradient, SVG, video, and hover backgrounds.       |
| [Transitions](/elements-docs/using-elements/components/common-controls/transitions.md)                             | Choose what animates and set its timing curve, duration, and delay.     |
| [Effects](/elements-docs/using-elements/components/common-controls/effects.md)                                     | Apply shadows, opacity, and hover effects.                              |
| [Filters](/elements-docs/using-elements/components/common-controls/filters.md)                                     | Apply blur, brightness, saturation, shadow, and backdrop effects.       |
| [Transforms](/elements-docs/using-elements/components/common-controls/transforms.md)                               | Scale, rotate, move, and skew components.                               |
| [Borders](/elements-docs/using-elements/components/common-controls/borders.md)                                     | Set border style, colour, opacity, width, radius, and hover states.     |
| [Advanced](/elements-docs/using-elements/components/common-controls/advanced.md)                                   | Add CSS classes and IDs, or change supported HTML tags.                 |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.realmacsoftware.com/elements-docs/using-elements/components/content-and-media/audio-playlist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
