Language selection

Search

Multimedia Player - Audio-only

Overview

For audio-only, the multimedia player leverages the native HTML5 audio tag.

The multimedia player's timeline relies on the HTML5 progress element and uses a polyfill when the element is not supported.

The MP3 format is the minimum requirement for the player because it is a widely supported format. An optional but highly recommended format, OGG Vorbis, should be added as well to leverage the HTML5 native performance gains.

Example (Ride of the Valkyries)

Ride of the Valkyries

View code
<figure class="wb-mltmd" data-wb-mltmd='{"shareUrl": "https://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.mp3"}'>
	<audio title="Ride of the Valkyries">
		<source src="https://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.mp3" type="audio/mp3" />
		<source src="https://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.ogg" type="audio/ogg" />
	</audio>
	<figcaption>
		<p>Ride of the Valkyries</p>
	</figcaption>
</figure>
Report a problem on this page
Please select all that apply:

Thank you for your help!

You will not receive a reply. For enquiries, please contact us.

Date modified: