User Tools

Site Tools


mp3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mp3 [2015/09/18 15:01] (current)
glass created
Line 1: Line 1:
 +====== MP3 ======
  
 +The MP3 loads MP3 files and displays visualizations of the audio data.
 +
 +{| style="​float:​right;​margin:​0 0 30px 20px;"
 +|+ The waveform of an active MP3 element.
 +|-
 +|{{:​oemp3.jpg?​nolink&​300|MP3 screenshot}}
 +|}
 +
 +{| class="​wikitable"​
 +|-
 +! Characteristic !! Definition
 +|-
 +| Type || Display Object
 +|-
 +| Category || Element
 +|-
 +| Scope || Local
 +|-
 +| Position || *
 +|-
 +| Parents || Container
 +|-
 +| Children || none
 +|-
 +| Gestures || none
 +|-
 +| Requirements || none
 +|}
 +
 +{| class="​wikitable"​
 +!
 +Attribute
 +!
 +Type
 +!
 +Description
 +|-
 +| 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