<img src="https://img.shields.io/badge/%20-ALL-%2300B180" style="float:left"/><br />

JWP players can be embedded to playback audio files. The following sections explain JWP audio file player embedding best practices. For additional information on JWP's audio playback capabilities see [Supported video and audio formats reference](πŸ”—ο»Ώ).

The below example uses an audio file with a maximum height setting of 40 pixels. With this setting, the player enters **audio mode** and hides the video display and other non-essential control bar items, such as **fullscreen**.

<br />

ο»Ώ

ο»Ώ

  • Although the above example uses an AAC audio file in an MP4 container, MP3 audio is also supported across virtually all desktop browsers and mobile devices.

  • Less common audio file formats (like Ogg Vorbis or Shoutcast) should be avoided because they are not supported ubiquitously.

  • MP3 streaming via HLS manifest (m3u8) is not supported.

<br /> <hr />

## Embed an audio player

Follow the steps below to embed an audio player on a web page.

  1. Add a <a href="/players/docs/jw8-add-a-player-library#cloud-hosted" target="_blank">cloud-hosted</a> or <a href="/players/docs/jw8-add-a-player-library#self-hosted" target="_blank">self-hosted</a> player to the page.

  2. <a href="/players/docs/jw8-embed-a-player" target="_blank">Add the audio player</a>. Be sure to define the audio file (`file`).

    ο»Ώ
  3. (Optional) Adjust the <a href="/players/reference/setup-options" target="_blank">configuration options</a> for the player.

<br />

<!-- Removes the automatic page-to-page navigation at the bottom of the page -->

<style> .rm-Pagination { display: none; } </style>