Alloy Showcase

alloy:audio

Audio is a UIComponent component that renders a <div> that contains an HTML5 <audio> element. It also supports graceful degradation for older browsers.

General Usage

The general usage of the component is to set the value attribute to a String audio URL. Degradation to a Flash player can be enabled via the degrade attribute (defaults to true).

Source Code

Liferay Faces Alloy 3.0.0 + Liferay Faces Bridge Implementation 4.0.0 + Showcase Common 3.0.0 + Liferay Faces Util 3.0.0 + Mojarra 2.2.13