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.
Graceful Degradation Usage
The component supports graceful degradation for older browsers using the Adobe® Flash® Player bundled with AlloyUI. If no value is specified in the<alloy:audio>
tag, then the audio from the first child <alloy:resource>
tag is used.A different player can be specified via the flashPlayer attribute. Additional
<param>
tags can be inserted into the Adobe® Flash® player's <object>
tag by specifying an f:facet with name="flash"
. Adobe® Flash® is a registered trademark of Adobe Systems Incorporated.
Source Code
Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20