<a-sound>
The sound primitive wraps the sound component.
Example
<a-scene> |
Attributes
Attribute | Component Mapping | Default Value |
---|---|---|
autoplay | sound.autoplay | false |
loop | sound.loop | false |
on | sound.on | null |
src | sound.src | null |
volume | sound.volume | 1 |