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 on many browsers. An optional but highly recommended format, OGG Vorbis, should be added as well to allow some browsers such as Firefox that do not include native support for MP3 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": "http://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.mp3"}'>
	<audio title="Ride of the Valkyries">
		<source src="http://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.mp3" type="audio/mp3" />
		<source src="http://www.archive.org/download/RideOfTheValkyries/ride_of_the_valkyries_2.ogg" type="audio/ogg" />
	</audio>
	<figcaption>
		<p>Ride of the Valkyries</p>
	</figcaption>
</figure>
Date modified: