ContentAudioEmbed
Use ContentAudioEmbed for a short briefing or podcast excerpt, but never make essential information audio-only. Supply a published src and descriptive title; provide a transcript or equivalent text beside the player.
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
src | Yes | None | Published audio source. |
title | Yes | None | Descriptive audio title. |
author | No | None | Speaker or audio creator. |
duration | No | None | Human-readable listening time. |
Example
<ContentAudioEmbed
src="https://interactive-examples.mdn.mozilla.net/media/cc0-audio/t-rex-roar.mp3"
title="Short CC0 audio sample"
author="MDN Web Docs"
duration="2 seconds"
/>
<p>
Transcript: This short CC0 sample demonstrates native audio playback; keep the essential message in the surrounding text.
</p>
Transcript: This short CC0 sample demonstrates native audio playback; keep the essential message in the surrounding text.