User Tools

Site Tools



The MP3 loads MP3 files and displays visualizations of the audio data.

The waveform of an active MP3 element.
MP3 screenshot
Characteristic Definition
Type Display Object
Category Element
Scope Local
Position *
Parents Container
Children none
Gestures none
Requirements none



autoplay true/false determines whether the mp3 file plays upon load
backgroundAlpha number sets the alpha of the background
display text visualization display type, choose waveform or none
loop true/false specifies whether the mp3 file will loop to the beginning and continue playing upon completion
pan number sets the audio panning (-1=left, 0=center, 1=right)
preload true/false indicates whether the mp3 file is pre-loaded by the cml parser
src text sets the mp3 file path
volume number sets the volume
waveColor number sets the color of the waveform

See Also: Display Attributes

<MP3 src="library/assets/demos/RuthCalledShot_vbr.mp3" display="waveform" />
mp3.txt · Last modified: 2015/09/18 15:01 by glass